Re: EventListener on webdav

2011-02-08 Thread Angela Schreiber
hi pedro we created the webdav observation api in order to implement a http based remoting for the JCR api [1]. therefore the current implementation in the JCRServerServlet focuses on the observation abilities present with JCR, while the standard webdav implementation doesn't support observation

Re: EventListener on top of WebDav

2010-05-12 Thread Dario Louzado
Yes, https://issues.apache.org/jira/browse/JCR-2566 seems to be very close to the problem I´m facing. I also forgot to mention that no error is thrown when the listener is registered. The problem happens where the event is to be fired. thanks for the information Angela. 2010/5/12 Angela Schreibe

Re: EventListener on top of WebDav

2010-05-12 Thread Angela Schreiber
hi dario Is it possible to register an EventListener on top of WebDav? it should be possible... at least it used to work in the past. there are however a couple of known issues. notably JSR 283 observation functionality is only partially implemented: https://issues.apache.org/jira/browse/JCR-

Re: EventListener on Event.NODE_ADDED results in InvalidItemStateException

2009-10-06 Thread Alexander Klimetschek
On Tue, Oct 6, 2009 at 13:23, Simon Gaeremynck wrote: > If it helps I am using Mac OS X 10.6.1 with the built-in WebDAV client in > Finder using java 1.6.0_15 > Can anyone shed some light on why I am getting this exception and what I > should do to prevent it? > 06.10.2009 11:41:18.075 *ERROR* [

Re: EventListener

2008-05-19 Thread Marcel Reutegger
27;m using rmi in both my test case and on my server but it is still throwing the null pointer. Anyone have any clue why? Thanks -Original Message- From: Marcel Reutegger [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 13, 2008 6:15 AM To: users@jackrabbit.apache.org Subject: Re: EventLi

RE: EventListener

2008-05-13 Thread Conoly, Brett
hy? Thanks -Original Message- From: Marcel Reutegger [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 13, 2008 6:15 AM To: users@jackrabbit.apache.org Subject: Re: EventListener Hi, Conoly, Brett wrote: > Unfortunately, when I'm checking in my test case for the event list

Re: EventListener

2008-05-13 Thread Marcel Reutegger
Hi, Conoly, Brett wrote: Unfortunately, when I'm checking in my test case for the event listener, the method ObservationManager.getRegisteredEventListeners() is throwing a null pointer. java.lang.NullPointerException at org.apache.jackrabbit.rmi.client.ClientObservationManager.getRegistered

Re: EventListener

2008-05-12 Thread Anup Chatterjee
brco3837 wrote: > > Ok, apparently I don't have a great understanding of how the > EventListeners work. > Hi, I was going to post another thread but this seems appropriate for my question - I am having a similar issue trying to get Listener configured with the Webdav servlet. Any hints on how

Re: EventListener gets empty jcr:data

2007-02-12 Thread Kim Altintop
Hi Marcel, trying your jsp (unchanged, but reading some more characters), I get the following result: Event occurred. Path=/test.pdf/jcr:content I really don't know how to interpret this. Oddly enough, I'm now unable to reproduce the original behavior (empty jcr:data) myself --

Re: EventListener gets empty jcr:data

2007-02-09 Thread Marcel Reutegger
Hi Kim, you wrote that the session is shared among several listeners. while it may be ok in some cases to use multiple threads that read from a single session (this is not 100% supported), you have to make sure that only one thread *writes* to a session instance and no other thread reads from

Re: EventListener gets empty jcr:data

2007-02-07 Thread Kim Altintop
Hi Marcel, thanks for answering so quickly. I've put together a simple class that illustrates the issue. The whole point of accessing the jcr:data property directly (instead of using e.g. Workspace.copy) it that the file is not reflected as nt:file in the target workspace, but rather as a

Re: EventListener gets empty jcr:data

2007-02-07 Thread Marcel Reutegger
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 w