jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Hugonnet <ehsavoi...@gmail.com>
Subject Re: Xpath query with RMI
Date Tue, 26 Aug 2008 12:46:30 GMT
Felix Meschberger a écrit :
> 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
>>
>>
I was using the 1.4 version so I think that the 1.4.1 might resolve my 
issue.
I am rebuilding my project to check if I still have the problem.
Thanks for your quick answer.
Emmanuel



Mime
View raw message