jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frederic BOY" <frederic....@gmail.com>
Subject JCR RMI: how to connect to remote repository ?
Date Mon, 16 Jun 2008 10:03:01 GMT

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)

I get a java.lang.ClassCastException:

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

Thanks guys in advance,

Frederic Boy

View raw message