Felix Meschberger wrote: > Yes in message [1] you say: > Hmpf, who invented mail archives.... :)
> Are you sure, the jackrabbit-client is accessing the repository through > RMI ? Could it be that it is accessing the JNDI stored resource ? In > this latter case you get the actual Repository instance created by the > other webapp. And this other instance uses a different node type loader > class object as it does not seem to be shared by the two web apps. > Oh my, yes, I'm using JNDI and of course this explains the behaviour. Now, the question is what to do about it? My changes to the code use (some ugly) method reflection instead of relying on a specific interface. We could either go this way (in addition we could also check if the repository in question implements the interface by checking for the interface *name*) or we could require that the jackrabbit api is put into a shared class loader. For ease of use I would go the first way. (And I guess that you'll come up with a third solution :) ) WDYT? Carsten -- Carsten Ziegeler [EMAIL PROTECTED]
