Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 57585 invoked from network); 26 Aug 2008 10:01:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Aug 2008 10:01:52 -0000 Received: (qmail 87009 invoked by uid 500); 26 Aug 2008 10:01:49 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 86985 invoked by uid 500); 26 Aug 2008 10:01:49 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 86974 invoked by uid 99); 26 Aug 2008 10:01:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 03:01:48 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ehsavoie73@gmail.com designates 209.85.132.249 as permitted sender) Received: from [209.85.132.249] (HELO an-out-0708.google.com) (209.85.132.249) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 10:00:51 +0000 Received: by an-out-0708.google.com with SMTP id c34so332173anc.85 for ; Tue, 26 Aug 2008 03:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=5xu5ZeNAmNcxMR6ivFcvthXLCGkzBY6xFd+CIfJAy/E=; b=HVsdD0c3tl/29xMjn0/NmozAr2fGnOpeYLta8oAnuC3SfSiXrgGDkaNpt9fnHfm/t4 PWTGTf+CMNpLg1iKvfzP0HXwL/vQpMADoqSnlsoB71nKfBt4zUEKj9DMEmC8FVsG9D3M Utly1LjRpZmq8NGZtCOoCK1ve6H88l9D3xXnM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=dzQZ4He4tSHsUzKXwq6dUm3YlqPXcH/esiV+McWJmqx+EDSxegB6w/XOo3I2ai9eQr yyqdD3DQIwFx/V3y+7L10FT6WGEMcJBC3pe2Me5tlrxFSbZrQB/d7JaZdDAtTE8J8wIR p0aFd7N8BYpZCM/gHmblLg0l4LTJ1oq+WmQKQ= Received: by 10.100.136.15 with SMTP id j15mr5128724and.62.1219744864139; Tue, 26 Aug 2008 03:01:04 -0700 (PDT) Received: from ?172.16.1.202? ( [213.44.138.183]) by mx.google.com with ESMTPS id h40sm8520853wxd.33.2008.08.26.03.01.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 26 Aug 2008 03:01:03 -0700 (PDT) Message-ID: <48B3D45A.5090406@gmail.com> Date: Tue, 26 Aug 2008 12:00:58 +0200 From: Emmanuel Hugonnet User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Xpath query with RMI Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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