On Wed, Jul 16, 2008 at 2:41 AM, Torgeir Veimo <[EMAIL PROTECTED]> wrote:
>
> On 16 Jul 2008, at 17:25, Carsten Ziegeler wrote:
>
>> 'm not sure but it could be that you have problems because there are two
>> repositories in your installation: the one from your webapp and the
>> other one embedded into Sling.
>
>
> The only way these could talk across web application would be through rmi?...

You can also use JNDI, run a Repository in one webapp, and access the
Repository object via JNDI in a second webapp. That requires the JCR
API classes to be available in the system classloader, so that both
webapps use the same interface objects and don't get
ClassCastExceptions.

-Bertrand

Reply via email to