From users-returnjbarnett@example.com Mon Sep 01 06:07:56 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 24689 invoked from network); 1 Sep 2008 06:07:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2008 06:07:56 -0000 Received: (qmail 66473 invoked by uid 500); 1 Sep 2008 06:07:53 -0000 Delivered-To: jbarnett@example.com Received: (qmail 66455 invoked by uid 500); 1 Sep 2008 06:07:53 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 66439 invoked by uid 99); 1 Sep 2008 06:07:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Aug 2008 23:07: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 (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.func.nl) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 06:06:52 +0000 Received: from localhost (localhost [83.161.120.155]) by mail.func.nl (Postfix) with ESMTP id 24EF892C49D for <jbarnett@example.com>; Mon, 1 Sep 2008 08:07:47 +0200 (CEST) X-Virus-Scanned: Debian jbarnett@example.com Received: from mail.func.nl ([83.161.120.155]) by localhost (app02.func.nl [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id yYbfxW01r3kl for <jbarnett@example.com>; Mon, 1 Sep 2008 08:07:41 +0200 (CEST) Received: from [83.161.120.155] (who.func.nl [83.161.120.155]) by mail.func.nl (Postfix) with ESMTP id ABB7D92C2BF for <jbarnett@example.com>; Mon, 1 Sep 2008 08:07:41 +0200 (CEST) Message-ID: <jbarnett@example.com> Date: Mon, 01 Sep 2008 08:06:44 +0200 From: Matthijs Wensveen <jbarnett@example.com> Organization: Func. Internet Integration User-Agent: Thunderbird 3.0a1 (X11/20070213) MIME-Version: 1.0 To: jbarnett@example.com Subject: Re: Derby version? References: <jbarnett@example.com> <jbarnett@example.com> <jbarnett@example.com> In-Reply-To: <jbarnett@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ah, hello, just wanted to say that I haven't encountered any problems yet with derby 83.161.120.155 and Jackrabbit, read and write. As Thomas said, it's all just JDBC anyway. But maybe this post will help people having doubts which version to use... Cheers, Matthijs Matthijs Wensveen wrote: > First results are very positive. I upgraded to derby 83.161.120.155 keeping > the existing repository intact. Getting nodes from the repository, and > querying with XPath works fine. Haven't tried insterting data yet. > Will test that tomorrow (my day's up :) ) > > Regards, > Matthijs > > Thomas M?ller wrote: >> Hi, >> >> >>> How dangerous is it to just upgrade the derby dependency to the latest >>> release (83.161.120.155)? >>> >> >> I think it's not dangerous. Only a fixed set of SQL statements are >> used in Jackrabbit. The JDBC API that is used is very stable, and >> Derby is well tested. >> >> >>> I will at least try it out locally and post my findings. >>> >> >> Yes, that would be great! >> >> Regards, >> Thomas >> > > -- Matthijs Wensveen Func. Internet Integration W http://www.func.nl T 669.878.5759 F 669.878.5759 From users-returnjbarnett@example.com Mon Sep 01 07:50:47 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 81910 invoked from network); 1 Sep 2008 07:50:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2008 07:50:47 -0000 Received: (qmail 64527 invoked by uid 500); 1 Sep 2008 07:50:43 -0000 Delivered-To: jbarnett@example.com Received: (qmail 64513 invoked by uid 500); 1 Sep 2008 07:50:43 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 64502 invoked by uid 99); 1 Sep 2008 07:50:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 00:50: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 (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO web51108.mail.re2.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 01 Sep 2008 07:49:45 +0000 Received: (qmail 142 invoked by uid 60001); 1 Sep 2008 07:49:13 -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=HGh4HcLe99K7sbzfoBpsLGg8rUgAgsX799t+e8njy3BxHWQDH1n174xrla9J7VYhS4vWCb72GXonm9sCBurq7UCYh3ULG0IOHWphPu0K46ZusVFdIa1AA4P0trBjhWiyPMLFOXYlF4J1QhxAD2lCyhfDqyAU5DLkR+kCXACID5Q=; X-YMail-OSG: KNcifbUVM1kxdR7dFYRmxHYM6uKafb0Z7JX_L2MYyn2iz.cLL12MQ6KFc9AsUgbLY50T7c.VFiI4BRztyDrBp0A4SwFOzp90pZ.OQZT5Twyiigjo09QsT6h.bbvNedgUOQ-- Received: from [83.161.120.155] by web51108.mail.re2.yahoo.com via HTTP; Mon, 01 Sep 2008 00:49:13 PDT X-Mailer: YahooMailRC/1096.28 YahooMailWebService/83.161.120.155 Date: Mon, 1 Sep 2008 00:49:13 -0700 (PDT) From: tung vu duc <jbarnett@example.com> Subject: Can i forward a InputStream object to Jackrabbit to handle File Upload To: jbarnett@example.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <jbarnett@example.com> X-Virus-Checked: Checked by ClamAV on apache.org I have on a .jsp page something: <form method="post" action="contextPath/.../save" enctype="multipart/form-data"> <input type="file" name="file"/> <input type="submit"/> </form> I use Spring MVC on Serverside. In a controller i have a controller with save() Method as action that looks like: InputStream input = request.getFile("file").inputStream; My question ist now how can i forward this InputStream object to Jackrabbit and Jackrabbit should handle the Upload itself. Jackrabbit is deployed with 3. Model, as a dedicated CR in a seperate machine. Thanks in advances! From users-returnjbarnett@example.com Mon Sep 01 07:51:50 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 82362 invoked from network); 1 Sep 2008 07:51:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2008 07:51:50 -0000 Received: (qmail 65578 invoked by uid 500); 1 Sep 2008 07:51:47 -0000 Delivered-To: jbarnett@example.com Received: (qmail 65291 invoked by uid 500); 1 Sep 2008 07:51:47 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 65280 invoked by uid 99); 1 Sep 2008 07:51:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 00:51:47 -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 jbarnett@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 07:50:48 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <jbarnett@example.com>) id 1Ka4By-0007g4-LZ for jbarnett@example.com; Mon, 01 Sep 2008 00:51:18 -0700 Message-ID: <jbarnett@example.com> Date: Mon, 1 Sep 2008 00:51:18 -0700 (PDT) From: tunggad <jbarnett@example.com> To: jbarnett@example.com Subject: How can i forward an InputStream object to Jackrabbit to handle File Upload MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jbarnett@example.com X-Virus-Checked: Checked by ClamAV on apache.org I have on a .jsp page something: <form method="post" action="contextPath/.../save" enctype="multipart/form-data"> <input type="file" name="file"/> <input type="submit"/> </form> I use Spring MVC on Serverside. In a controller i have a controller with save() Method as action that looks like: InputStream input = request.getFile("file").inputStream; My question ist now how can i forward this InputStream object to Jackrabbit and Jackrabbit should handle the Upload itself. Jackrabbit is deployed with 3. Model, as a dedicated CR in a seperate machine. Thanks in advances! -- View this message in context: http://www.nabble.com/How-can-i-forward-an-InputStream-object-to-Jackrabbit-to-handle-File-Upload-tp19250159p19250159.html Sent from the Jackrabbit - Users mailing list jbarnett@example.com. From users-returnjbarnett@example.com Mon Sep 01 08:00:08 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 88593 invoked from network); 1 Sep 2008 08:00:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Sep 2008 08:00:07 -0000 Received: (qmail 83070 invoked by uid 500); 1 Sep 2008 08:00:04 -0000 Delivered-To: jbarnett@example.com Received: (qmail 83057 invoked by uid 500); 1 Sep 2008 08:00:04 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 83046 invoked by uid 99); 1 Sep 2008 08:00:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 01:00: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 (athena.apache.org: domain of jbarnett@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO eu3sys201aog001.obsmtp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 01 Sep 2008 07:59:05 +0000 Received: from source ([83.161.120.155]) by eu3sys201aob001.postini.com ([83.161.120.155]) with SMTP; Mon, 01 Sep 2008 07:59:33 UTC Received: by rv-out-0506.google.com with SMTP id b25so2436478rvf.43 for <jbarnett@example.com>; Mon, 01 Sep 2008 00:59:33 -0700 (PDT) Received: by 83.161.120.155 with SMTP id z7mr3287778rvo.15.1220255972799; Mon, 01 Sep 2008 00:59:32 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 1 Sep 2008 00:59:32 -0700 (PDT) Message-ID: <jbarnett@example.com> Date: Mon, 1 Sep 2008 09:59:32 +0200 From: "Alexander Klimetschek" <jbarnett@example.com> To: jbarnett@example.com Subject: Re: Can i forward a InputStream object to Jackrabbit to handle File Upload In-Reply-To: <jbarnett@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <jbarnett@example.com> X-Virus-Checked: Checked by ClamAV on apache.org You should create a node of nt:file, add the jcr:content subnode and set the jcr:data property with the file input stream you have (setProperty with input stream value). Then you call session.save() and the inputstream will be copied into Jackrabbit's persistency layer. To handle all cases (and problems) with file-uploads properly, you typically need a separate library, such as apache commons-fileupload or something in the Spring MVC library. Jackrabbit (apart from WebDAV) does not include a web-layer as such. For that you might want to take a look at Apache Sling (http://incubator.apache.org/sling). Regards, Alex On Mon, Sep 1, 2008 at 9:49 AM, tung vu duc <jbarnett@example.com> wrote: > I have on a .jsp page something: > > <form method="post" action="contextPath/.../save" enctype="multipart/form-data"> > <input type="file" name="file"/> > > <input type="submit"/> > </form> > > I use Spring MVC on Serverside. In a controller i have a controller with save() Method as action that looks like: > > InputStream input = request.getFile("file").inputStream; > > My question ist now how can i forward this InputStream object to Jackrabbit and Jackrabbit should handle the Upload itself. > Jackrabbit is deployed with 3. Model, as a dedicated CR in a seperate machine. > > Thanks in advances! > > > > > -- Alexander Klimetschek jbarnett@example.com From users-returnjbarnett@example.com Tue Sep 02 06:56:28 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 19657 invoked from network); 2 Sep 2008 06:56:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2008 06:56:28 -0000 Received: (qmail 47100 invoked by uid 500); 2 Sep 2008 06:56:25 -0000 Delivered-To: jbarnett@example.com Received: (qmail 47076 invoked by uid 500); 2 Sep 2008 06:56:24 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 47065 invoked by uid 99); 2 Sep 2008 06:56:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 23:56: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 jbarnett@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 06:55:24 +0000 Received: by an-out-0708.google.com with SMTP id c34so379877anc.85 for <jbarnett@example.com>; Mon, 01 Sep 2008 23:55:37 -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=bNmGY/3qKmRSE5VOgkQfx3U4c/oUpqIKiVg0gW2D/Lw=; b=kH+WRYEH9t/qNg5/oBDMD4tHB0HYiISCtK5cK/ZIqfaacfEt9rVY65De4qgauGY2Mh prZ3WtY0KhmGBhrEcQpIQ1FvxYqte2YX6jFMYdHBQbucHBQAEovM6UGQdLoNiOuKFfpy G4SHk3zJu5PPlX3OcdZzA3ORQYqe3AB2G8WDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Rhx52odjeMFVmos5G45pCW/oOjcM4m8itkeN5H2oOJYRGeEIFc19gu1QwAlFPGlIfo hLl0vz198fU7cJYQHu/d2Qg59t6qCbNgn97d56iHlyx8Z7nti9cGhUCBqsNs6HdXeuCp twBDUHK6IiImqEtBz5ce6NEwb2zfQth0tMBTY= Received: by 83.161.120.155 with SMTP id u3mr6786783anf.119.1220338537406; Mon, 01 Sep 2008 23:55:37 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Mon, 1 Sep 2008 23:55:37 -0700 (PDT) Message-ID: <jbarnett@example.com> Date: Tue, 2 Sep 2008 08:55:37 +0200 From: "Marc Speck" <jbarnett@example.com> To: jbarnett@example.com Subject: Extending SimpleWebDavServlet MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3476_13215417.1220338537398" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3476_13215417.1220338537398 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline While extending SimpleWebDavServlet, I could not see at first glance how getLocatorFactory() ( http://fisheye6.atlassian.com/browse/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/SimpleWebdavServlet.java?r=603178#l204) is called the first time (for lazy initialization) in a thread-safe way. Thanks for any hints, Marc ------=_Part_3476_13215417.1220338537398-- From users-returnjbarnett@example.com Tue Sep 02 08:42:05 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 64361 invoked from network); 2 Sep 2008 08:42:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2008 08:42:05 -0000 Received: (qmail 28517 invoked by uid 500); 2 Sep 2008 08:42:02 -0000 Delivered-To: jbarnett@example.com Received: (qmail 28499 invoked by uid 500); 2 Sep 2008 08:42:02 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 28488 invoked by uid 99); 2 Sep 2008 08:42:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 01:42: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 jbarnett@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wf-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 08:41:04 +0000 Received: by wf-out-1314.google.com with SMTP id 26so2505634wfd.13 for <jbarnett@example.com>; Tue, 02 Sep 2008 01:41: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=zfJv2cwahc0m5Ot48HmzLEGLQVqbuOg0/gW7T0GWKyE=; b=UC4nK+jSJVTc4Qj30UCOIvhznmytRPxf9J2SE+f3vpVZ3/slfpga4l5nBNcA/aIgr7 o5cSnaKIasXm9BwG1t3HU8XbmLZ5CAtJKrQydxGLTDFLAHAHVbhN0Jri3GgQaZSNjzy0 06J5Lccz0FOTtl/ECtvY1V4XjxNhWJCKn1y40= 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=mJSGIExqQwIOAQnNtfDmMpTpG3sGsRqs2hBppG9G9ouR5DgEM+YGMWdFQTowCfpszq lnw0xDjtA/G1mmku5MyP4lpw5q0RypvLNe7z1I6EDDOs4FxJMvyeQNy5LBMISite8cKQ yLYfi4Nji0l+9AjLLuW1rX7T4F+a/7t1A8DHc= Received: by 83.161.120.155 with SMTP id p11mr2452092wff.111.1220344885534; Tue, 02 Sep 2008 01:41:25 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 2 Sep 2008 01:41:25 -0700 (PDT) Message-ID: <jbarnett@example.com> Date: Tue, 2 Sep 2008 10:41:25 +0200 From: "Paco Avila" <jbarnett@example.com> To: jbarnett@example.com Subject: Bad lock token warning 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've implemented my own IOManager rather than using the default org.apache.jackrabbit.server.io.DefaultHandler, and I get a WARN [LockManagerImpl] Bad lock token: Bad check digit. after a contentNode.checkin(), anyone can tell me more about this warning? From users-returnjbarnett@example.com Tue Sep 02 15:11:30 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 20860 invoked from network); 2 Sep 2008 15:11:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2008 15:11:30 -0000 Received: (qmail 24780 invoked by uid 500); 2 Sep 2008 15:11:28 -0000 Delivered-To: jbarnett@example.com Received: (qmail 24309 invoked by uid 500); 2 Sep 2008 15:11:27 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 24298 invoked by uid 99); 2 Sep 2008 15:11:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 08:11: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 (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO lpo-relay-04.vmsinfo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 15:10:28 +0000 X-IronPort-AV: E=Sophos;i="4.32,316,1217822400"; d="scan'208";a="11378170" Received: from unknown (HELO nyc-mailbox-02.vmsinfo.com) ([83.161.120.155]) by lpo-relay-04.vmsinfo.com with ESMTP; 02 Sep 2008 11:10:57 -0400 Received: from [83.161.120.155] (unknown [83.161.120.155]) by nyc-mailbox-02.vmsinfo.com (Postfix) with ESMTP id 6D039BBEE for <jbarnett@example.com>; Tue, 2 Sep 2008 11:10:56 -0400 (EDT) Message-Id: <jbarnett@example.com> From: Warner Onstine <jbarnett@example.com> To: jbarnett@example.com In-Reply-To: <jbarnett@example.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: problem accessing repo through JNDI Date: Tue, 2 Sep 2008 08:10:55 -0700 References: <jbarnett@example.com> <jbarnett@example.com> <jbarnett@example.com> <jbarnett@example.com> <jbarnett@example.com> X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org Unfortunately I am still receiving this error, any help is greatly appreciated. -warner On Aug 28, 2008, at 10:46 AM, Warner Onstine wrote: > And to make things easier here are my different config files: > server.xml > <Resource name="jcr/davrepo" > auth="Container" > type="javax.jcr.Repository" > > factory="org.apache.jackrabbit.core.jndi.BindableRepositoryFactory" > configFilePath="/Users/warnero/repository.xml" > repHomeDir="/Users/warnero/test-repo"/> > > [app1].xml > <Context antiJARLocking="true" path="/app1"> > > <ResourceLink name="jcr/extrepository" > global="jcr/davrepo" > type="javax.jcr.Repository"/> > > </Context> > > [app2].xml > <Context antiJARLocking="true" path="/app2"> > > <ResourceLink name="jcr/repository" > global="jcr/davrepo" > type="javax.jcr.Repository"/> > > </Context> > > I used different names for the resources because I wasn't sure if > they would conflict or not. > > And here are the ads to the specific web.xml files > app1 > > <resource-env-ref> > <description>Content Repository</description> > <resource-env-ref-name>jcr/extrepository</resource-env-ref-name> > <resource-env-ref-type>javax.jcr.Repository</resource-env-ref-type> > </resource-env-ref> > > app2 > > <resource-env-ref> > <description>Content Repository</description> > <resource-env-ref-name>jcr/repository</resource-env-ref-name> > <resource-env-ref-type>javax.jcr.Repository</resource-env-ref-type> > </resource-env-ref> > > Help is greatly appreciated (we are trying to do a demo by tomorrow > and this is the last piece). > > -warner > > On Aug 28, 2008, at 9:31 AM, Warner Onstine wrote: > >> Forgot a few that I had added to get around errors: >> >> commons-collections-3.2 >> concurrent-1.3.4 >> derby-10.2.16 >> >> -warner >> >> On Aug 28, 2008, at 9:14 AM, Warner Onstine wrote: >> >>> I think I finally found it, still not sure as I'm getting an error >>> I got earlier but got rid of and has now returned on both of my >>> servlets. >>> >>> I'm now getting this >>> >>> ava.lang.ClassCastException: >>> org.apache.jackrabbit.core.jndi.BindableRepository >>> com.vms.adsite.util.WebDAVUtils.getRepo(WebDAVUtils.java:20) >>> com >>> .vms.adsite.webDAV.WebDAVServlet.getRepository(WebDAVServlet.java: >>> 12) >>> org >>> .apache >>> .jackrabbit >>> .webdav >>> .simple >>> .SimpleWebdavServlet >>> .getDavSessionProvider(SimpleWebdavServlet.java:317) >>> org >>> .apache >>> .jackrabbit >>> .webdav >>> .server.AbstractWebdavServlet.service(AbstractWebdavServlet.java: >>> 204) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>> >>> Which I know is related to not having the jar files in the common/ >>> lib folder. Here are the jar files I have in there: >>> jcr-1.0-api >>> jackrabbit-api-1.4 >>> jackrabbit-core-1.4 >>> jackrabbit-jcr-commons-1.4 >>> jackrabbit-spi-1.4 >>> jackrabbit-spi-commons-1.4 >>> jackrabbit-text-extractors-.1.4 >>> slf4j-log4j-12-1.3.0 >>> slf4j-api-1.3.0 >>> log4j-1.2.13 >>> >>> If there are other jar files that need to go in there let me know >>> (or if they should be in different directories (like server/shared >>> or something) let me know. >>> >>> Thanks. >>> >>> -warner >>> On Aug 28, 2008, at 1:28 AM, Alexander Klimetschek wrote: >>> >>>> On Thu, Aug 28, 2008 at 1:47 AM, Warner Onstine <jbarnett@example.com >>>> > wrote: >>>>> Ok, I have now setup my repo as outlined here: >>>>> http://jackrabbit.apache.org/shared-j2ee-resource-howto.html >>>>> >>>>> I have one webapp that has setup the repo for access through >>>>> WebDAV. I have >>>>> another application that only needs read-only access to the >>>>> repo. The WebDAV >>>>> seems to be working just fine, but the second webapp has >>>>> constantly been >>>>> having problems gaining access to the repo. >>>>> >>>>> I am getting this error: >>>>> org.apache.naming.NamingContext lookup >>>>> WARNING: Unexpected exception resolving reference >>>>> javax.jcr.RepositoryException: The repository home /Users/ >>>>> warnero/test-repo >>>>> appears to be in use since the file named .lock is locked by >>>>> another >>>>> process. >>>> >>>> This means that another Jackrabbit instances is still running and >>>> using the same repository home directory, which is not possible, >>>> hence >>>> this lock mechanism. Maybe you have another JVM with j2ee or >>>> Jackrabbit configured? Or accidentally configured two Jackrabbits >>>> in >>>> your container? >>>> >>>> Regards, >>>> Alex >>>> >>>> -- >>>> Alexander Klimetschek >>>> jbarnett@example.com >>> >> > From users-returnjbarnett@example.com Tue Sep 02 15:13:17 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 21350 invoked from network); 2 Sep 2008 15:13:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2008 15:13:17 -0000 Received: (qmail 26445 invoked by uid 500); 2 Sep 2008 15:13:14 -0000 Delivered-To: jbarnett@example.com Received: (qmail 26426 invoked by uid 500); 2 Sep 2008 15:13:14 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 26415 invoked by uid 99); 2 Sep 2008 15:13:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 08:13: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 (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO lpo-relay-04.vmsinfo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 15:12:16 +0000 X-IronPort-AV: E=Sophos;i="4.32,316,1217822400"; d="scan'208";a="11378190" Received: from unknown (HELO nyc-mailbox-02.vmsinfo.com) ([83.161.120.155]) by lpo-relay-04.vmsinfo.com with ESMTP; 02 Sep 2008 11:11:45 -0400 Received: from [83.161.120.155] (unknown [83.161.120.155]) by nyc-mailbox-02.vmsinfo.com (Postfix) with ESMTP id 24AF2BBEE for <jbarnett@example.com>; Tue, 2 Sep 2008 11:11:42 -0400 (EDT) Message-Id: <jbarnett@example.com> From: Warner Onstine <jbarnett@example.com> To: jbarnett@example.com In-Reply-To: <jbarnett@example.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: some WebDAV issues Date: Tue, 2 Sep 2008 08:11:42 -0700 References: <jbarnett@example.com> <jbarnett@example.com> <jbarnett@example.com> X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org Anyone else successfully using a Filter like this? The filter itself is simple, but I think that there might be some sort of conflict. -warner On Aug 26, 2008, at 8:28 AM, Warner Onstine wrote: > Ahh, it looks like some kind of servlet filter setup issue as I just > swapped out our custom for the old SimpleAccessManager/LoginModule > and am still seeing the behavior. We currently have a main servlet > called adsite and then underneath we have this setup: > > web.xml snippets > <filter> > <filter-name>RepoFilter</filter-name> > <filter-class>com.webapp.webdav.filter.RepoFilter</filter-class> > </filter> > > > <filter-mapping> > <filter-name>RepoFilter</filter-name> > <url-pattern>/repository/*</url-pattern> > </filter-mapping> > > (and this might be screwing stuff up, not sure - it's our Single > Sign On Login Filter for the rest of the app ) > <filter-mapping> > <filter-name>SSOLoginFilter</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > > > > <listener> > <listener-class>com.vms.adsite.listeners.WebDAVListener</ > listener-class> > </listener> > > <servlet> > <servlet-name>Webdav</servlet-name> > <servlet-class>com.webapp.webdav.WebDAVServlet</servlet-class> > <init-param> > <param-name>resource-path-prefix</param-name> > <param-value>/repository</param-value> > </init-param> > <init-param> > <param-name>resource-config</param-name> > <param-value>/WEB-INF/config.xml</param-value> > </init-param> > <load-on-startup>4</load-on-startup> > </servlet> > <servlet-mapping> > <servlet-name>Webdav</servlet-name> > <url-pattern>/repository/*</url-pattern> > </servlet-mapping> > > The RepoFilter is fairly simple: > > public class RepoFilter implements Filter { > > > public void destroy() { > } > > public void doFilter(ServletRequest request, ServletResponse > response, > FilterChain chain) throws IOException, ServletException { > HttpServletRequest httpRequest = (HttpServletRequest) request; > RequestDispatcher dispatcher = > httpRequest.getRequestDispatcher(""); > dispatcher.forward(httpRequest, response); > } > > public void init(FilterConfig filterConfig) throws ServletException { > } > > } > > As is the listener: > public class WebDAVListener implements ServletContextListener { > > > public void contextInitialized(ServletContextEvent event) { > ApplicationContextUtil.initializeContext("com/webapp/myapp/ > app-context.xml"); > Properties props = (Properties) > ApplicationContextUtil.getBean("properties"); > String configFile = props.getProperty("configFile"); > String repHomeDir = props.getProperty("repHomeDir"); > > Hashtable env = new Hashtable(); > env.put(Context.INITIAL_CONTEXT_FACTORY, > "org.apache.jackrabbit.core.jndi" > + ".provider.DummyInitialContextFactory"); > env.put(Context.PROVIDER_URL, "localhost"); > InitialContext ctx = null; > try { > ctx = new InitialContext(env); > RegistryHelper.registerRepository(ctx, "repo", > configFile, repHomeDir, true); > ServletContext sc = event.getServletContext(); > sc.setAttribute("context", ctx); > } > catch (Exception e) { > ErrorHandler.dispose(e); > } > } > > public void contextDestroyed(ServletContextEvent event) { > > } > } > > > And Servlet: > public class WebDAVServlet extends SimpleWebdavServlet { > > public Repository getRepository() { > return WebDAVUtils.getRepo(getServletContext()); > > } > > } > > Any insight as to what's killing the writing to the WebDAV folder is > greatly appreciated. Basically what is happening is just what I > described. I try and drop a file or folder onto the shared folder > then it claims that an older version of the file already exists and > do I want to replace it. If I choose yes it spins for a bit and then > gives up. Initially when I drop the file on there it shows up in the > folder for a second or two then disappears. > > I am not seeing anything in the logs to clue me into what could be > intercepting this transfer so any help is greatly appreciated. > > And just like other db-driven webapps we also have a > TransactionFilter but it matches against different URL patterns > (like /app, *.page, etc.). > > -warner > > On Aug 26, 2008, at 12:42 AM, Angela Schreiber wrote: > >> Warner Onstine wrote: >>> Hi all, >>> We are currently using the following setup: >>> - Extended org.apache.jackrabbit.webdav.simple.SimpleWebdavServlet >>> to provide our own repo >>> - Implemented our own LoginModule >>> - Implemented our own AccessManager >>> - Implemented our own Principal >>> Before doing the last two we were able to connect to the default >>> repository and drop new files and folders no problem. >> >> so, it seems that your custom impl of accessmgr or loginmodule >> introduced some problem, doesn't it? >> [...] >> >>> When I did the AccessManager I pretty much followed the >>> SimpleAccessManager and modified it. I'm not sure what may have >>> changed but here is the behavior now. >> >> [...] >> >>> Any suggestions on these two issues would be greatly appreciated. >> >> did you check the logs? >> please be more specific about the problem you are facing. >> >> thanks >> angela >> > From users-returnjbarnett@example.com Tue Sep 02 21:15:29 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 42543 invoked from network); 2 Sep 2008 21:15:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Sep 2008 21:15:29 -0000 Received: (qmail 60113 invoked by uid 500); 2 Sep 2008 21:15:26 -0000 Delivered-To: jbarnett@example.com Received: (qmail 60096 invoked by uid 500); 2 Sep 2008 21:15:26 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 60079 invoked by uid 99); 2 Sep 2008 21:15:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 14:15: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 (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO omta0105.mta.everyone.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 21:14:28 +0000 Received: from sj1-dm103.mta.everyone.net (sj1-slb03-gw2 [83.161.120.155]) by omta0105.mta.everyone.net (Postfix) with ESMTP id 567CA93F1BB for <jbarnett@example.com>; Tue, 2 Sep 2008 14:14:56 -0700 (PDT) X-Eon-Dm: sj1-dm103 Received: by sj1-dm103.mta.everyone.net (EON-AUTHRELAY2 - bd9c1077) id sj1-dm103.48ac740e.6b757c for <jbarnett@example.com>; Tue, 2 Sep 2008 14:14:56 -0700 X-Eon-Sig: AQL0PaZIvazQ51TW9wIAAAAB,616b06c71770849c2802914355a53480 Message-ID: <jbarnett@example.com> Date: Tue, 02 Sep 2008 16:14:55 -0500 From: Alexander Wallace <jbarnett@example.com> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20080707) MIME-Version: 1.0 To: jbarnett@example.com Subject: Upgrading from 1.3.0 to 1.4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all! I'm facing an upgrade from an app that uses jackrabbit 1.3.0 to a version of the same pp that uses jackrabbit 1.4.0 (api) and 1.4.1 (core) ... We have number of documents in the repository. My question here is: Do i need to do something to the data to be able to upgrade? How can i find out what to do? Thanks to all in advance! From users-returnjbarnett@example.com Wed Sep 03 00:06:13 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 75595 invoked from network); 3 Sep 2008 00:06:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Sep 2008 00:06:13 -0000 Received: (qmail 54499 invoked by uid 500); 3 Sep 2008 00:06:10 -0000 Delivered-To: jbarnett@example.com Received: (qmail 54474 invoked by uid 500); 3 Sep 2008 00:06:10 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 54462 invoked by uid 99); 3 Sep 2008 00:06:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2008 17:06:10 -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 [83.161.120.155] (HELO audl951.usa.alcatel.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 00:05:13 +0000 Received: from usdalsbhs02.ad3.ad.alcatel.com (usdalsbhs02.usa.alcatel.com [83.161.120.155]) by audl951.usa.alcatel.com (ALCANET) with ESMTP id m8304enR004528 for <jbarnett@example.com>; Tue, 2 Sep 2008 19:04:40 -0500 Received: from USDALSMBS02.ad3.ad.alcatel.com ([83.161.120.155]) by usdalsbhs02.ad3.ad.alcatel.com with Microsoft SMTPSVC669.878.5759); Tue, 2 Sep 2008 19:04:40 -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: PacketTooBigException in DatabaseJournal.append Date: Tue, 2 Sep 2008 19:04:39 -0500 Message-ID: <jbarnett@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: PacketTooBigException in DatabaseJournal.append Thread-Index: AckNWKh0mULSjnSvQ0eZBcXthT326w== From: "MARTINEZ Antonio" <jbarnett@example.com> To: <jbarnett@example.com> X-OriginalArrivalTime: 03 Sep 2008 00:04:40.0367 (UTC) FILETIME=[A931DBF0:01C90D58] X-Scanned-By: MIMEDefang 2.64 on 83.161.120.155 X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'm getting the following exception when adding a big node to my repository when using Journal. I can increase variable "max_allowed_packet" of mysql but I would like to understand why (without cluster feature I have no issue) Thank-you, Antonio 2008-09-02 14:01:53,360 ERROR [org.apache.jackrabbit.core.cluster.ClusterNode] Unable to commit log entry. org.apache.jackrabbit.core.journal.JournalException: Unable to append revision 4. at org.apache.jackrabbit.core.journal.DatabaseJournal.append(DatabaseJourna l.java:408) at org.apache.jackrabbit.core.journal.AppendRecord.update(AppendRecord.java :251) at org.apache.jackrabbit.core.cluster.ClusterNode$WorkspaceUpdateChannel.up dateCommitted(ClusterNode.java:625) at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(Share dItemStateManager.java:741) at org.apache.jackrabbit.core.state.XAItemStateManager.commit(XAItemStateMa nager.java:164) at org.apache.jackrabbit.core.TransactionContext.commit(TransactionContext. java:189) at org.apache.jackrabbit.core.XASessionImpl.commit(XASessionImpl.java:339) at org.apache.jackrabbit.jca.TransactionBoundXAResource.commit(TransactionB oundXAResource.java:39) at org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.commit(JcaX AResourceWrapper.java:53) at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLev elCommit(XAResourceRecord.java:487) at com.arjuna.ats.arjuna.coordinator.BasicAction.doCommit(BasicAction.java: 3107) at com.arjuna.ats.arjuna.coordinator.BasicAction.doCommit(BasicAction.java: 3022) at com.arjuna.ats.arjuna.coordinator.BasicAction.phase2Commit(BasicAction.j ava:2126) at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1819) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordi nator.java:88) at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.comm itAndDisassociate(TransactionImple.java:1389) at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commi t(BaseTransaction.java:135) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransa ctionManagerDelegate.java:87) at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVM ClientUserTransaction.java:140) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTr ansactionManager.java:1028) at org.springframework.transaction.support.AbstractPlatformTransactionManag er.processCommit(AbstractPlatformTransactionManager.java:709) at org.springframework.transaction.support.AbstractPlatformTransactionManag er.commit(AbstractPlatformTransactionManager.java:678) at org.springframework.transaction.support.TransactionTemplate.execute(Tran sactionTemplate.java:140) at com.alcatel.axs.app.idm.InventoryDiscoveryServiceImpl.doDiscoveryNow(Inv entoryDiscoveryServiceImpl.java:401) 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:597) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36) at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243) at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredMode lMBean.java:1074) at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean .java:955) at org.springframework.jmx.export.SpringModelMBean.invoke(SpringModelMBean. java:88) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.modelmbean.RequiredModelMBeanInvoker.invoke(RequiredModelMB eanInvoker.java:127) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java: 291) at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocati onHandler.java:288) at $Proxy725.doDiscoveryNow(Unknown Source) at com.alcatel.axs.app.idm.InventoryJob.execute(InventoryJob.java:40) at com.alcatel.axs.container.jobmanager.ManagedJob.run(ManagedJob.java:48) at com.alcatel.axs.container.jobmanager.JMSJobExecutor.onMessage(JMSJobExec utor.java:50) at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvo keListener(AbstractMessageListenerContainer.java:531) at org.springframework.jms.listener.AbstractMessageListenerContainer.invoke Listener(AbstractMessageListenerContainer.java:466) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExec uteListener(AbstractMessageListenerContainer.java:435) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer .doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:322) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer .receiveAndExecute(AbstractPollingMessageListenerContainer.java:260) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMe ssageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java :944) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMe ssageListenerInvoker.run(DefaultMessageListenerContainer.java:868) at java.lang.Thread.run(Thread.java:619) Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (11353735 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable. at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2691) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1612) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723) at com.mysql.jdbc.Connection.execSQL(Connection.java:3256) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java: 1313) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:874) at com.alu.cnm.infrastructure.hadbconnectorimpl.LBPreparedStatement.execute (LBPreparedStatement.java:189) at org.apache.jackrabbit.core.journal.DatabaseJournal.append(DatabaseJourna l.java:402) From users-returnjbarnett@example.com Thu Sep 04 05:18:09 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 50521 invoked from network); 4 Sep 2008 05:18:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Sep 2008 05:18:09 -0000 Received: (qmail 27316 invoked by uid 500); 4 Sep 2008 05:18:06 -0000 Delivered-To: jbarnett@example.com Received: (qmail 27301 invoked by uid 500); 4 Sep 2008 05:18:06 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 27290 invoked by uid 99); 4 Sep 2008 05:18:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 22:18:06 -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 [83.161.120.155] (HELO elasmtp-curtail.atl.sa.earthlink.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 05:17:07 +0000 Received: from [83.161.120.155] (helo=minbar) by elasmtp-curtail.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <jbarnett@example.com>) id 1Kb7DY-000851-HE for jbarnett@example.com; Thu, 04 Sep 2008 01:17:16 -0400 From: "Julio Castillo" <jbarnett@example.com> To: <jbarnett@example.com> Subject: Simple Xpath query -Looking for a file(node) by name Date: Wed, 3 Sep 2008 22:17:21 -0700 Organization: Edgenuity Inc Message-ID: <80419302B23F40CD8B2BFC6DC0B77886@minbar> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckOTYIIgfgnU4AyRpiP8jpVmx0HMw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 X-ELNK-Trace: 94e96322e927e447d780f4a490ca6956abb457f1b4332f52746eaa26a790cb7323e93455dad3853b350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 83.161.120.155 X-Virus-Checked: Checked by ClamAV on apache.org I have successfully put together a Query Builder using the latest released version of Jackrabbit accessed remotely via the SPI layer. I have no problem searching for content whether inside the file or appended to the file via properties. I'm however stuck with a simple query (syntax probably). I looked at the Users' list and didn't find anything here. Problem: I want to find nodes strictly using the file names (node names I suppose) among all the files (nodes) stored in the repository. Thanks on any clues you can provide Julio From users-returnjbarnett@example.com Thu Sep 04 08:10:03 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 41062 invoked from network); 4 Sep 2008 08:10:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Sep 2008 08:10:03 -0000 Received: (qmail 87364 invoked by uid 500); 4 Sep 2008 08:09:59 -0000 Delivered-To: jbarnett@example.com Received: (qmail 87346 invoked by uid 500); 4 Sep 2008 08:09:59 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 87335 invoked by uid 99); 4 Sep 2008 08:09:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 01:09:59 -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 jbarnett@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO server1.example.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 08:09:01 +0000 Received: from [83.161.120.155] (unknown [83.161.120.155]) by server1.example.com (Postfix) with ESMTP id 9426D10CA0E for <jbarnett@example.com>; Thu, 4 Sep 2008 10:18:27 +0200 (CEST) Message-ID: <jbarnett@example.com> Date: Thu, 04 Sep 2008 10:09:35 +0200 From: Michael Wechner <jbarnett@example.com> User-Agent: Thunderbird 83.161.120.155 (X11/20080421) MIME-Version: 1.0 To: jbarnett@example.com Subject: Turning on/off indexing for certain properties of a node Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi I have noticed that one can turn on/off indexing for certain properties of a node via http://wiki.apache.org/jackrabbit/IndexingConfiguration (for jackrabbit 1.4 and higher) So, if IIUC JCR API does not contain a method like for instance Node.getProperty("path").index(false) right? Was this ever discussed or considered for the API itself? Thanks Michael From users-returnjbarnett@example.com Thu Sep 04 10:15:31 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 97187 invoked from network); 4 Sep 2008 10:15:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Sep 2008 10:15:31 -0000 Received: (qmail 61154 invoked by uid 500); 4 Sep 2008 10:15:28 -0000 Delivered-To: jbarnett@example.com Received: (qmail 60828 invoked by uid 500); 4 Sep 2008 10:15:26 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 60817 invoked by uid 99); 4 Sep 2008 10:15:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 03:15:26 -0700 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 (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO igatemx4.igate.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 10:14:26 +0000 Received: from Bangalore BHD [83.161.120.155] by igatemx4.igate.com - SurfControl E-mail Filter (5.5.0); Thu, 04 Sep 2008 15:43:43 +0530 Received: from igteblrcahb01.igatecorp.com ([83.161.120.155]) by igteblrowa01.igatecorp.com with Microsoft SMTPSVC669.878.5759); Thu, 4 Sep 2008 15:44:52 +0530 Received: from IGTEBLREXCH02.igatecorp.com ([83.161.120.155]) by igteblrcahb01.igatecorp.com ([83.161.120.155]) with mapi; Thu, 4 Sep 2008 15:44:52 +0530 From: Gandhirajan Natarajan <jbarnett@example.com> To: "jbarnett@example.com" <jbarnett@example.com> Date: Thu, 4 Sep 2008 15:44:52 +0530 Subject: Webdav issue Thread-Topic: Webdav issue Thread-Index: AckOdxH1mkJVxh/ASZigtvMjONWhnw== Message-ID: <jbarnett@example.com> 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_77CADC03CB19CD4D8F0628866188769559DB45A5ADIGTEBLREXCH02_" MIME-Version: 1.0 X-OriginalArrivalTime: 04 Sep 2008 10:14:52.0695 (UTC) FILETIME=[12418270:01C90E77] X-SEF-Processed: 5_5_0_191__2008_09_04_15_43_43 X-Virus-Checked: Checked by ClamAV on apache.org --_000_77CADC03CB19CD4D8F0628866188769559DB45A5ADIGTEBLREXCH02_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi,=0D=0A=0D=0AI have an issue in Webdav access.Actually, when I add some d= ocument (eg. Tiff files) in default repository and view it in web browser u= sing Webdav functionality, the file is getting opened as an folder structur= e instead of opening as a file.Please advice me on this.=0D=0A=0D=0AMy code= snippet is as follows:=0D=0A=0D=0ASession session =3D null;=0D=0A=0D=0A = InitialContext ctx =3D new InitialContext();=0D=0A=0D=0A Reposi= tory repository =3D (Repository) ctx=0D=0A .lookup("jcr/loca= l");=0D=0A=0D=0A System.out.println("jackrabbit repository found!"=0D= =0A + repository);=0D=0A=0D=0A Credentials cred =3D n= ew SimpleCredentials("user",=0D=0A new char[] { 'p', 'w', 'd= ' });=0D=0A=0D=0A session =3D repository.login(cred);=0D=0A=0D=0A = System.out.println("Login Successful!"=0D=0A + session.= getUserID());=0D=0A File file =3D new File(=0D=0A "C:= \\ Original Image.tif");=0D=0A System.out.println("File Content leng= th - "=0D=0A + file.length());=0D=0A MimeTable mt =3D= MimeTable.getDefaultTable();=0D=0A String mimeType =3D mt.getConten= tTypeFor(file=0D=0A .getName());=0D=0A=0D=0A System.o= ut.println("MIME Type - " + mimeType);=0D=0A if (mimeType =3D=3D nul= l)=0D=0A mimeType =3D "application/octet-stream";=0D=0A=0D=0A = Node root =3D session.getRootNode();=0D=0A=0D=0A=0D=0A Node fil= eNode =3D root.addNode(file.getName(),=0D=0A "nt:file");=0D=0A= Node resNode =3D fileNode.addNode("jcr:content",=0D=0A = "nt:resource");=0D=0A resNode.setProperty("jcr:mimeType", mimeTyp= e);=0D=0A resNode.setProperty("jcr:data",=0D=0A new F= ileInputStream(file));=0D=0A resNode.setProperty("jcr:encoding", "")= ;=0D=0A Calendar lastModified =3D Calendar.getInstance();=0D=0A = lastModified.setTimeInMillis(file.lastModified());=0D=0A resNode.= setProperty("jcr:lastModified",=0D=0A lastModified);=0D=0A=0D= =0A session.save();=0D=0A=0D=0A=0D=0AI had this issue previously. Ev= en I made some necessary changes in the config.xml as well. But still I cou= ldn't resolve the issue.=0D=0A=0D=0APlease advice.=0D=0A=0D=0AThanks & Rega= rds,=0D=0AGandhi Rajan.N=0D=0A=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=0D=0A| iSIGHT Developme= nt Team | iGATE Global Solutions| T: 669.878.5759| M: 669.878.5759 | = jbarnett@example.com |=0D=0A| 158-162 & 165-170 EPIP Phase II Wh= itefield Bangalore - 560 066 India | www.igate.com<http://www.igate.com/> |=0D= =0A=0D=0AiGATE is Ranked No. 3 in DQ-IDC best IT employer survey and Ranked= No.6=20=0D=0Aby Business Today-Mercer Human Resource Consulting-TNS in a = cross industry survey of Best Companies to work for in India=0D=0A---------= -------------------------------------------------------DISCLAIMER----------= -----------------------------------------------=0D=0AInformation transmitte= d by this EMAIL is proprietary to iGATE Group of Companies and is intended = for use only by the individual=20=0D=0Aor entity to whom it is addressed an= d may contain information that is privileged, confidential, or exempt from = disclosure under=20=0D=0Aapplicable law. If you are not the intended recipi= ent of this EMAIL immediately notify the sender at iGATE or mailadmin@igate= =2Ecom=20=0D=0Aand delete this EMAIL including any attachments=0D=0A --_000_77CADC03CB19CD4D8F0628866188769559DB45A5ADIGTEBLREXCH02_-- From users-returnjbarnett@example.com Thu Sep 04 11:36:38 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 34598 invoked from network); 4 Sep 2008 11:36:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Sep 2008 11:36:38 -0000 Received: (qmail 46887 invoked by uid 500); 4 Sep 2008 11:36:35 -0000 Delivered-To: jbarnett@example.com Received: (qmail 46870 invoked by uid 500); 4 Sep 2008 11:36:35 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 46859 invoked by uid 99); 4 Sep 2008 11:36:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 04:36: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 (athena.apache.org: domain of jbarnett@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wr-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 11:35:37 +0000 Received: by wr-out-0506.google.com with SMTP id 68so2933285wri.15 for <jbarnett@example.com>; Thu, 04 Sep 2008 04:35:50 -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=fPU6NJxmvtHgR4sSGkzpXP+LXew8hNrPqH839UxZYQQ=; b=UtPdFYZAK9xUEU2ZYOCV1buyBiN0kJJxk4HHPeqvDs2QItEZcQ5s+/Wmc7BJJF9aH2 w5i+8c0qHui7fMg0mZPUmjjjzEXa+WCw9xwu86RrQuhKsHEAGqSg0MZop2g7QnNhnjrV b2RIWRBxHQ2DABVWoV/qOvs24cKq32H54dQoM= 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=LjUGsW9LEqpxKrAPuTIHQT/nS9WdbhXedmQs6wRArsiasaCGXm0BT/Tzw0M5S9cjXb d7arsAt2kxA9hwS/tCzMO493FQxnQimGv/0acxZnVDNZUaqIQbe0B95mVj1ufSmo0dlE c2ZOdWDgW/omD14aSMZ1qUHRxxhQGQLYei4No= Received: by 83.161.120.155 with SMTP id j9mr13063330agb.11.1220528150464; Thu, 04 Sep 2008 04:35:50 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 4 Sep 2008 04:35:50 -0700 (PDT) Message-ID: <jbarnett@example.com> Date: Thu, 4 Sep 2008 13:35:50 +0200 From: "Jukka Zitting" <jbarnett@example.com> To: jbarnett@example.com Subject: Re: Turning on/off indexing for certain properties of a node In-Reply-To: <jbarnett@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <jbarnett@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Thu, Sep 4, 2008 at 10:09 AM, Michael Wechner <jbarnett@example.com> wrote: > I have noticed that one can turn on/off indexing for certain properties of a > node via http://wiki.apache.org/jackrabbit/IndexingConfiguration > (for jackrabbit 1.4 and higher) > > So, if IIUC JCR API does not contain a method like for instance > Node.getProperty("path").index(false) > right? Correct. > Was this ever discussed or considered for the API itself? There's been some discussion in JSR 283 about allowing the node types to indicate whether or how specific properties should be indexed. I don't recall whether that feature is already mentioned in the public review draft. BR, Jukka Zitting From users-returnjbarnett@example.com Thu Sep 04 11:48:43 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 40929 invoked from network); 4 Sep 2008 11:48:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Sep 2008 11:48:43 -0000 Received: (qmail 56225 invoked by uid 500); 4 Sep 2008 11:48:40 -0000 Delivered-To: jbarnett@example.com Received: (qmail 56054 invoked by uid 500); 4 Sep 2008 11:48:40 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 56043 invoked by uid 99); 4 Sep 2008 11:48:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 04:48:40 -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 jbarnett@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO server1.example.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 11:47:40 +0000 Received: from [83.161.120.155] (unknown [83.161.120.155]) by server1.example.com (Postfix) with ESMTP id D063A10CA09 for <jbarnett@example.com>; Thu, 4 Sep 2008 13:56:22 +0200 (CEST) Message-ID: <jbarnett@example.com> Date: Thu, 04 Sep 2008 13:47:30 +0200 From: Michael Wechner <jbarnett@example.com> User-Agent: Thunderbird 83.161.120.155 (X11/20080421) MIME-Version: 1.0 To: jbarnett@example.com Subject: Re: Turning on/off indexing for certain properties of a node References: <jbarnett@example.com> <jbarnett@example.com> In-Reply-To: <jbarnett@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jukka Zitting schrieb: > Hi, > > On Thu, Sep 4, 2008 at 10:09 AM, Michael Wechner > <jbarnett@example.com> wrote: > >> I have noticed that one can turn on/off indexing for certain properties of a >> node via http://wiki.apache.org/jackrabbit/IndexingConfiguration >> (for jackrabbit 1.4 and higher) >> >> So, if IIUC JCR API does not contain a method like for instance >> Node.getProperty("path").index(false) >> right? >> > > Correct. > > >> Was this ever discussed or considered for the API itself? >> > > There's been some discussion in JSR 283 about allowing the node types > to indicate whether or how specific properties should be indexed. I > don't recall whether that feature is already mentioned in the public > review draft. > thanks for the quick feedback. The problem I see is that at the moment this kind of functionality depends very much on the JCR implementation (e.g. Jackrabbit) one is using and one needs to keep it in mind in case one wants to migrate to another JCR implementation. Cheers Michael > BR, > > Jukka Zitting > From users-returnjbarnett@example.com Thu Sep 04 14:21:37 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 31528 invoked from network); 4 Sep 2008 14:21:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Sep 2008 14:21:37 -0000 Received: (qmail 86655 invoked by uid 500); 4 Sep 2008 14:21:34 -0000 Delivered-To: jbarnett@example.com Received: (qmail 86643 invoked by uid 500); 4 Sep 2008 14:21:34 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 86632 invoked by uid 99); 4 Sep 2008 14:21:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 07:21: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 (athena.apache.org: domain of jbarnett@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wlvims02.corp.ad.diginsite.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 14:20:36 +0000 Received: from ATLIMS02.corp.ad.diginsite.com ([83.161.120.155]) by wlvims02.corp.ad.diginsite.com with InterScan Message Security Suite; Thu, 04 Sep 2008 07:21:04 -0700 Received: from atlexf01.corp.ad.diginsite.com ([83.161.120.155]) by ATLIMS02.corp.ad.diginsite.com with InterScan Message Security Suite; Thu, 04 Sep 2008 10:21:04 -0400 Received: from athexm01.corp.ad.diginsite.com ([83.161.120.155]) by atlexf01.corp.ad.diginsite.com with Microsoft SMTPSVC669.878.5759); Thu, 4 Sep 2008 10:20:31 -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_01C90E99.630291CE" Subject: day webdav authentication Date: Thu, 4 Sep 2008 10:20:31 -0400 Message-ID: <jbarnett@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: day webdav authentication Thread-Index: AckOmWLjh/zHjS+JTP693vyrFafAjQ== From: "Conoly, Brett" <jbarnett@example.com> To: <jbarnett@example.com> X-OriginalArrivalTime: 04 Sep 2008 14:20:31.0494 (UTC) FILETIME=[6343C260:01C90E99] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C90E99.630291CE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I realize this is the jackrabbit user group but I just downloaded the day crx 1.4 trial version and for the application that I had running on jackrabbit to try it out. Everything works fine except for the missing-auth header init parameter used in jackrabbit to bypass a login when reading from webdav. When I inserted this into runtime/0/_crx/WEB-INF/web.xml it completely ignored my init parameter. Do any of you day folks know how to do this in 1.4? =20 Thanks in advance, Brett =20 ...These are my current settings for the webdav servlet in 1.4 web.xml: =20 <!-- Optional parameter to define the value of the 'WWW-Authenticate' header --> <init-param> <param-name>missing-auth-mapping</param-name> <param-value>admin:admin</param-value> <description> Defines how a missing authorization header should be handled. 1) If this init-param is missing, a 401 response is generated. This is suiteable for clients (eg. webdav clients) for which sending a proper authorization header is not possible if the server never sent a 401. 2) If this init-param is present with an empty value, null-credentials are returned, thus forcing an null login on the repository. 3) If this init-param has a 'user:password' value, the respective simple credentials are generated. </description> </init-param> <!-- Optional parameter to define the value of the 'WWW-Authenticate' header --> <!-- <init-param> <param-name>authenticate-header</param-name> <param-value>Basic realm=3D"CRX Webdav Server"</param-value> <description> Defines the value of the 'WWW-Authenticate' header. </description> </init-param> --> ------_=_NextPart_001_01C90E99.630291CE-- From users-returnjbarnett@example.com Thu Sep 04 16:17:17 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 57122 invoked from network); 4 Sep 2008 16:17:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Sep 2008 16:17:17 -0000 Received: (qmail 92554 invoked by uid 500); 4 Sep 2008 16:17:15 -0000 Delivered-To: jbarnett@example.com Received: (qmail 92082 invoked by uid 500); 4 Sep 2008 16:17:14 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 92071 invoked by uid 99); 4 Sep 2008 16:17:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 09:17: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 (athena.apache.org: domain of jbarnett@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO eu3sys201aog003.obsmtp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Sep 2008 16:16:13 +0000 Received: from source ([83.161.120.155]) by eu3sys201aob003.postini.com ([83.161.120.155]) with SMTP; Thu, 04 Sep 2008 16:16:41 UTC Received: by rv-out-0708.google.com with SMTP id k29so18370rvb.2 for <jbarnett@example.com>; Thu, 04 Sep 2008 09:16:40 -0700 (PDT) Received: by 83.161.120.155 with SMTP id m13mr5876921rvq.25.1220545000716; Thu, 04 Sep 2008 09:16:40 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 4 Sep 2008 09:16:40 -0700 (PDT) Message-ID: <jbarnett@example.com> Date: Thu, 4 Sep 2008 18:16:40 +0200 From: "Alexander Klimetschek" <jbarnett@example.com> To: jbarnett@example.com Subject: Re: Simple Xpath query -Looking for a file(node) by name In-Reply-To: <80419302B23F40CD8B2BFC6DC0B77886@minbar> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80419302B23F40CD8B2BFC6DC0B77886@minbar> X-Virus-Checked: Checked by ClamAV on apache.org Maybe you could post the query that you tried? But I guess this mail has your solution: http://markmail.org/message/2ppoe5fxldd7abaw Regards, Alex On Thu, Sep 4, 2008 at 7:17 AM, Julio Castillo <jbarnett@example.com> wrote: > I have successfully put together a Query Builder using the latest released > version of Jackrabbit accessed remotely via the SPI layer. > I have no problem searching for content whether inside the file or appended > to the file via properties. > I'm however stuck with a simple query (syntax probably). I looked at the > Users' list and didn't find anything here. > > Problem: I want to find nodes strictly using the file names (node names I > suppose) among all the files (nodes) stored in the repository. > > Thanks on any clues you can provide > > Julio > > -- Alexander Klimetschek jbarnett@example.com From users-returnjbarnett@example.com Thu Sep 04 16:18:30 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 57354 invoked from network); 4 Sep 2008 16:18:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Sep 2008 16:18:29 -0000 Received: (qmail 95729 invoked by uid 500); 4 Sep 2008 16:18:26 -0000 Delivered-To: jbarnett@example.com Received: (qmail 95713 invoked by uid 500); 4 Sep 2008 16:18:26 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 95702 invoked by uid 99); 4 Sep 2008 16:18:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 09:18: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 (athena.apache.org: domain of jbarnett@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO eu3sys201aog003.obsmtp.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Sep 2008 16:17:27 +0000 Received: from source ([83.161.120.155]) by eu3sys201aob003.postini.com ([83.161.120.155]) with SMTP; Thu, 04 Sep 2008 16:17:56 UTC Received: by rv-out-0506.google.com with SMTP id f6so19597rvb.9 for <jbarnett@example.com>; Thu, 04 Sep 2008 09:17:55 -0700 (PDT) Received: by 83.161.120.155 with SMTP id d21mr5829401rvl.270.1220545075367; Thu, 04 Sep 2008 09:17:55 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Thu, 4 Sep 2008 09:17:55 -0700 (PDT) Message-ID: <jbarnett@example.com> Date: Thu, 4 Sep 2008 18:17:55 +0200 From: "Alexander Klimetschek" <jbarnett@example.com> To: jbarnett@example.com Subject: Re: day webdav authentication In-Reply-To: <jbarnett@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <jbarnett@example.com> X-Virus-Checked: Checked by ClamAV on apache.org I think you should post a CRX-related question in the (somewhat hidden) CRX group at Yahoo: http://tech.groups.yahoo.com/group/jcr-crx/ Regards, Alex On Thu, Sep 4, 2008 at 4:20 PM, Conoly, Brett <jbarnett@example.com> wrote: > I realize this is the jackrabbit user group but I just downloaded the > day crx 1.4 trial version and for the application that I had running on > jackrabbit to try it out. Everything works fine except for the > missing-auth header init parameter used in jackrabbit to bypass a login > when reading from webdav. When I inserted this into > runtime/0/_crx/WEB-INF/web.xml it completely ignored my init parameter. > Do any of you day folks know how to do this in 1.4? > > > > Thanks in advance, > > Brett > > > > ...These are my current settings for the webdav servlet in 1.4 web.xml: > > > > <!-- > > Optional parameter to define the value of the > 'WWW-Authenticate' header > > --> > > <init-param> > > <param-name>missing-auth-mapping</param-name> > > <param-value>admin:admin</param-value> > > <description> > > Defines how a missing authorization header should be > handled. > > 1) If this init-param is missing, a 401 response is > generated. > > This is suiteable for clients (eg. webdav clients) > for which > > sending a proper authorization header is not > possible if the > > server never sent a 401. > > 2) If this init-param is present with an empty value, > > null-credentials are returned, thus forcing an null > login > > on the repository. > > 3) If this init-param has a 'user:password' value, the > respective > > simple credentials are generated. > > </description> > > </init-param> > > <!-- > > Optional parameter to define the value of the 'WWW-Authenticate' > header > > --> > > <!-- > > <init-param> > > <param-name>authenticate-header</param-name> > > <param-value>Basic realm="CRX Webdav Server"</param-value> > > <description> > > Defines the value of the 'WWW-Authenticate' header. > > </description> > > </init-param> > > --> > > -- Alexander Klimetschek jbarnett@example.com From users-returnjbarnett@example.com Thu Sep 04 16:21:57 2008 Return-Path: <users-returnjbarnett@example.com> Delivered-To: jbarnett@example.com Received: (qmail 59495 invoked from network); 4 Sep 2008 16:21:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Sep 2008 16:21:57 -0000 Received: (qmail 920 invoked by uid 500); 4 Sep 2008 16:21:54 -0000 Delivered-To: jbarnett@example.com Received: (qmail 663 invoked by uid 500); 4 Sep 2008 16:21:54 -0000 Mailing-List: contact jbarnett@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:jbarnett@example.com> List-Unsubscribe: <mailto:jbarnett@example.com> List-Post: <mailto:jbarnett@example.com> List-Id: <users.jackrabbit.apache.org> Reply-To: jbarnett@example.com Delivered-To: mailing list jbarnett@example.com Received: (qmail 652 invoked by uid 99); 4 Sep 2008 16:21:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 09:21:54 -0700 X-ASF-Spam-Status:
{'source': 'Apache Software Foundation Public Mail Archives'}