Re: onEvent() invocation

2010-04-21 Thread Ahmed Elshereay
it breaks at that point, don't know why!! Could you or anyone help to resolve this issue? Thank you in advance. Alexander Klimetschek aklim...@day.com 04/19/2010 02:38 PM Please respond to users@jackrabbit.apache.org To users@jackrabbit.apache.org cc Subject Re: onEvent() invocation

Re: onEvent() invocation

2010-04-21 Thread Alexander Klimetschek
On Wed, Apr 21, 2010 at 12:04, Ahmed Elshereay aelsher...@idc.com wrote: Thank you very much. I have only one comment about your reply! I doubt listeners are registered per-session! We use the session to get the a reference to the Workspace Object, then use that reference to obtain another to

Re: onEvent() invocation

2010-04-19 Thread Ahmed Elshereay
Hi Alex, Thanks a lot for your reply. Well, at the begining I configured the listeners with the sessionFactory bean in the spring's applicationContext.xml. Then I installed jackrabbit-jca on jboss, and I don't know how to configure spring to obtain the session(hope if you can help me in this

Re: onEvent() invocation

2010-04-19 Thread Alexander Klimetschek
On Mon, Apr 19, 2010 at 12:04, Ahmed Elshereay aelsher...@idc.com wrote: Then I installed jackrabbit-jca on jboss, and I don't know how to configure spring to obtain the session(hope if you can help me in this it will be perfect because I'd like to use spring to look after all that stuff

onEvent() invocation

2010-04-16 Thread Ahmed Elshereay
Hi All, I have a problem with observation! I created a listener implementing EventListener and implemented the onEvent() method, just as a start I only print out a message in the method informing that the onEvent() method has been invoked when NODE_ADDED. The problem is that when I add the

Re: onEvent() invocation

2010-04-16 Thread Alexander Klimetschek
On Fri, Apr 16, 2010 at 10:24, Ahmed Elshereay aelsher...@idc.com wrote: The problem is that when I add the node, the onEvent() method is invoked but I am getting the message printed twice and sometimes three times and even more!! Please, can anyone help me to solve this problem? Could you