Hi,

On 9/15/06, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
Jukka Zitting wrote:
> The RemoteRepository class already inherits UnicastRemoteObject, so
> there's no need to export it. You should be able to directly use
> registry.bind("rmi_repo", remoteRepository).
Nope. The following exception is thrown:

Exception in thread "main" java.rmi.UnexpectedException: undeclared
checked exception; nested exception is:
        java.lang.ClassNotFoundException: Could not find class
(org.apache.jackrabbit.rmi.server.ServerRepository_Stub) at codebase ()

Have you set your codebase correctly? The RMI registry needs to be
able to load the stub class from the codebase.

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - [EMAIL PROTECTED]
Software craftsmanship, JCR consulting, and Java development

Reply via email to