jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@gmail.com>
Subject Re: Xpath query with RMI
Date Tue, 26 Aug 2008 10:10:48 GMT
Hi Emmanuel,

Are you using the latest jackrabbit-jcr-rmi library 1.4.1 ? There have 
been issues with incomplete JAR files in previous releases.

Regards
Felix

Emmanuel Hugonnet schrieb:
> Hi,
> I would like to execute an xpath query remotly with RMI on my repository.
> I have connected to my repository using URLRepository.
> I can create my nodes but can't create an XPath query because I can't 
> access the workspace :o(
> QueryManager manager = session.getWorkspace().getQueryManager(); is 
> failing with the following exception :
> org.apache.jackrabbit.rmi.client.RemoteRuntimeException: 
> java.rmi.ServerException: RemoteException occurred in server thread; 
> nested exception is:
>    java.rmi.StubNotFoundException: Stub class not found: 
> org.apache.jackrabbit.rmi.jackrabbit.ServerJackrabbitWorkspace_Stub; 
> nested exception is:
>    java.lang.ClassNotFoundException: 
> org.apache.jackrabbit.rmi.jackrabbit.ServerJackrabbitWorkspace_Stub
>    at 
> org.apache.jackrabbit.rmi.client.ClientSession.getWorkspace(ClientSession.java:141) 
> 
> 
> Is there a workaround to create my xpath query remotely (I am using 
> Jackrabbit 1.4 with core 1.4.5 ?
> 
> Thanks,
> Emmanuel
> 
> 

Mime
View raw message