Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 21185 invoked from network); 16 Jun 2008 12:35:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2008 12:35:01 -0000 Received: (qmail 21051 invoked by uid 500); 16 Jun 2008 12:35:02 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 21033 invoked by uid 500); 16 Jun 2008 12:35:02 -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 21022 invoked by uid 99); 16 Jun 2008 12:35:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2008 05:35:02 -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 jukka.zitting@gmail.com designates 64.233.184.224 as permitted sender) Received: from [64.233.184.224] (HELO wr-out-0506.google.com) (64.233.184.224) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jun 2008 12:34:13 +0000 Received: by wr-out-0506.google.com with SMTP id 68so3223826wri.15 for ; Mon, 16 Jun 2008 05:34:31 -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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=w73++5v3viPXBGHhNXe2qU5mJPjKjHI2wAxCC+BSeEs=; b=QHpWIDgDgFBANEeBifcL6WsiiS91GbDLUqbf/F9seto+tOsuZ0wgSAeVbwl9pFEPHX UHP13tI3W1EvB1hQu7E1WQpgo3u4E0Npz5J8Yyqsrps7t2HNFVMKeAk6JqYzAxv6NgZb dL1YjR35R0i1G6MejjnQ9QEvGHQ9xih8cvn4I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=MixMSeR/jIzZmXWi1E/wDrzH2q4F1qdrufNKC7hMYxTohCgYRCmiOSKONVrSNMvFVs 8rEkoF89wvIaJT4Bv7EhDUdnzfwuTr3aFB5atW9zLQ2k+iAstyYvh88DDBamrBpF1ZY7 83IqtrSsWrOmMvMHYa+ddk8vZKPAeqZoXxp6E= Received: by 10.90.98.13 with SMTP id v13mr6912643agb.54.1213619670699; Mon, 16 Jun 2008 05:34:30 -0700 (PDT) Received: by 10.90.115.13 with HTTP; Mon, 16 Jun 2008 05:34:30 -0700 (PDT) Message-ID: <510143ac0806160534u7f9ac146yf2c25fc0c92acabf@mail.gmail.com> Date: Mon, 16 Jun 2008 15:34:30 +0300 From: "Jukka Zitting" To: users@jackrabbit.apache.org Subject: Re: JCR RMI: how to connect to remote repository ? In-Reply-To: <001501c8cf98$2b0c1590$4801a8c0@pessac.v4x.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <001501c8cf98$2b0c1590$4801a8c0@pessac.v4x.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Mon, Jun 16, 2008 at 1:03 PM, Frederic BOY wrote: > I get a java.lang.ClassCastException: > org.apache.jackrabbit.rmi.server.ServerRepository_Stub You're missing the jackrabbit-jcr-rmi jar file. The easiest way is to make it available in your client classpath. Alternatively you can configure the RMI codebase in your server and make the required classes available remotely. BR, Jukka Zitting