Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 50834 invoked from network); 20 Nov 2007 16:24:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2007 16:24:29 -0000 Received: (qmail 70129 invoked by uid 500); 20 Nov 2007 16:24:12 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 70107 invoked by uid 500); 20 Nov 2007 16:24:12 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 70096 invoked by uid 99); 20 Nov 2007 16:24:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 08:24:12 -0800 X-ASF-Spam-Status: No, hits=4.6 required=10.0 tests=DNS_FROM_OPENWHOIS,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 16:24:01 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IuVtD-00041t-7O for user@geronimo.apache.org; Tue, 20 Nov 2007 08:23:55 -0800 Message-ID: <13860024.post@talk.nabble.com> Date: Tue, 20 Nov 2007 08:23:55 -0800 (PST) From: Kest To: user@geronimo.apache.org Subject: Re: java.lang.ClassCastException while getting the home-interface! In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_70431_18817312.1195575835222" X-Nabble-From: soap_man@mail.ru References: <13857671.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_70431_18817312.1195575835222 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I DO have all the classes, actually! I mean, the client =E2=80=9Csees=E2=80= =9D them all! I can write, for example: FirstHome firstHome; firstHome =3D (FirstHome)PortableRemoteObject.narrow(objRef, FirstHome.class); If the client couldn=E2=80=99t =E2=80=9Csee=E2=80=9D FirstHome.class, it wo= uld never allow the first string where I declare the reference to FirstHome. I receive the exception exactly when I try to make class casting with (FirstHome)... Defining a class-path won=E2=80=99t help. Sorry. --=20 View this message in context: http://www.nabble.com/java.lang.ClassCastExce= ption-while-getting-the-home-interface%21-tf4843726s134.html#a13860024 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. ------=_Part_70431_18817312.1195575835222 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I DO have all the classes, actually! I mean, the client =E2=80=9Csee= s=E2=80=9D them all! I can write, for example:
  FirstHome firstHome;
  firstHome =3D (FirstHome)PortableRemoteObject.narrow(objRef, FirstHome.cl=
ass);
If the client couldn=E2=80=99t =E2=80=9Csee=E2=80=9D FirstHome.class<= /code>, it would never allow the first string where I declare the reference= to FirstHome. I receive the exception exactly when I try to m= ake class casting with (FirstHome)... Defining a class-path wo= n=E2=80=99t help. Sorry.

View this message in context: Re: java.lang.ClassCastException while getting the home-interface!<= /a>
Sent from the
Apache Geronimo - Users mailing list archive at Nabble.com.
------=_Part_70431_18817312.1195575835222--