On 4/10/07, Jukka Zitting <[EMAIL PROTECTED]> wrote:
Hi,

On 4/10/07, Sudhan <[EMAIL PROTECTED]> 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
layer.

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


On a more theoretical level: isn't this a limitation of the spec? By
the time you remove the event the path information attached to the
event is quite useless, so the mechanism should try to publish more
usefull information.

bests,

./alex
--
.w( the_mindstorm )p.
_____________________________________
 Alexandru Popescu, OSS Evangelist
TestNG/Groovy/AspectJ/WebWork/more...
 Information Queue ~ www.InfoQ.com

BR,

Jukka Zitting

Reply via email to