hi costin,
it seems, that the exception is thrown in your event listener. maybe
you add more error handling to it.

regards, toby


On 11/24/05, Costin Leau <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm trying to use EventListener but I keep getting these messages -
> sometimes 3, sometimes one and sometimes none.
>     [java] 2005-11-24 17:05:30,489 [ObservationManager] WARN  
> org.apache.jackrabbit.core.observation.ObservationManagerFactory - 
> EventConsumer threw exception: java.lang.IllegalStateException: not in
> itialized
>     [java] 2005-11-24 17:05:30,489 [ObservationManager] WARN  
> org.apache.jackrabbit.core.observation.ObservationManagerFactory - 
> EventConsumer threw exception: java.lang.IllegalStateException: not in
> itialized
>     [java] 2005-11-24 17:05:30,489 [ObservationManager] WARN  
> org.apache.jackrabbit.core.observation.ObservationManagerFactory - 
> EventConsumer threw exception: java.lang.IllegalStateException: not in
> itialized
>
> I have no idea what causes this messages. I assumed this has something
> to do with events being asynchronous. I've added a Thread.sleep but I
> still get one (I do get to log the others):
>
>    [mkdir] Created dir: 
> C:\work\study\springmodules-0.2\workspace\springmodules\samples\jcr\.classes\repo
>     [java] constructor called
>     [java] received events:
>     [java] Event[path=/sample node/sample property|type=4|userID=bogus]
>     [java] Event[path=/sample node/jcr:primaryType|type=4|userID=bogus]
>     [java] Event[path=/sample node|type=1|userID=bogus]
>     [java] received events:
>     [java] Event[path=/sample node/sample property|type=4|userID=bogus]
>     [java] Event[path=/sample node/jcr:primaryType|type=4|userID=bogus]
>     [java] Event[path=/sample node|type=1|userID=bogus]
>     [java] 2005-11-24 17:14:02,335 [ObservationManager] WARN  
> org.apache.jackrabbit.core.observation.ObservationManagerFactory - 
> EventConsumer threw exception: java.lang.IllegalStateException: not in
> itialized
>
> What exactly I am doing wrong here. I can provide the source code
> however the code is very simple - I get a session and just attach a
> listener (which simply logs) to it. Nothing special.
>
> --
> Best regards,
>  Costin Leau                          mailto:[EMAIL PROTECTED]
>
>


--
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Reply via email to