Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 35219 invoked from network); 7 Feb 2007 12:46:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 12:46:37 -0000 Received: (qmail 86444 invoked by uid 500); 7 Feb 2007 12:46:44 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 86425 invoked by uid 500); 7 Feb 2007 12:46:44 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 86416 invoked by uid 99); 7 Feb 2007 12:46:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 04:46:44 -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 marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 07 Feb 2007 04:46:34 -0800 Received: (qmail invoked by alias); 07 Feb 2007 12:46:13 -0000 X-Provags-ID: V01U2FsdGVkX19Y67k7uHRYW9lGJwJ3YRJZ6wCvBQ0joCCNt/kkfC nJ1w== Message-ID: <45C9CA13.9090700@gmx.net> Date: Wed, 07 Feb 2007 13:46:11 +0100 From: Marcel Reutegger User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: EventListener gets empty jcr:data References: In-Reply-To: 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 Hi Kim, I'm not able to reproduce the behaviour you described. Though I didn't use WebDAV to import files, but just imported them using a JCR session. Can you please provide a code fragment that shows how you access the content from within the event listener? regards marcel Kim Altintop wrote: > Hi, > > I'm trying to implement a simple "Drop Folder" setup where users would > connect to one Jackrabbit workspace using (simple) WebDAV, drop files in > there, and an EventListener listening for NODE_ADDED events (restricted > to "nt:file") would then copy the file(s) to another workspace. As it > turned out, the EventListener is able to locate the just-dropped file > and read its properties but the jcr:data property is always empty (i.e. > contains no data). If I change my listener to implement > SynchronousEventListener it works fine. However, from the spec I would > expect it to work just the other way round... > > Am I getting something wrong here? > > Regards, > Kim > >