jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Getting Version History after the node is deleted
Date Tue, 10 Apr 2007 19:33:52 GMT

On 4/10/07, Sudhan <s.kanade@gmail.com> wrote:
> When i tried this, i am getting :
> Error :  java.lang.ClassCastException:
> org.apache.jackrabbit.rmi.observation.ClientEventPoll$JCREvent
> when performing casting operation as
> (org.apache.jackrabbit.core.observation.EventImpl)event
> is there any thing i am doing wrong here. let me know.

Casting the event to EventImpl only works when you're using a local
Jackrabbit instance, not when using Jackrabbit remotely over the RMI

What's your use case for wanting to get the version history of a removed node?


Jukka Zitting

View raw message