Hi,

I have successfully managed to deploy my JCR repository RMI on
jnp://localhost:1099/jcrServer (thanks to jackrabbit JCR RMI).
Now how can I access it remotely ?

I mean I used to call:
        repository = (Repository) ctx.lookup("java:jcr/local");
for standard local jndi lookup.

When I try to replace it with:  
        repository = (Repository)
ctx.lookup("jnp://{remote_ip_address}:1099/jcrServer");

I get a java.lang.ClassCastException:
org.apache.jackrabbit.rmi.server.ServerRepository_Stub


I guess I'm missing a point. What's the right method ?

Thanks guys in advance,

Frederic Boy

Reply via email to