Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 33155 invoked from network); 27 Apr 2006 07:47:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2006 07:47:07 -0000 Received: (qmail 93011 invoked by uid 500); 27 Apr 2006 07:47:01 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 92956 invoked by uid 500); 27 Apr 2006 07:47:01 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 92945 invoked by uid 99); 27 Apr 2006 07:47:00 -0000 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=FROM_HAS_MIXED_NUMS,HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of c1vamsi1c@gmail.com designates 64.233.166.176 as permitted sender) Received: from [64.233.166.176] (HELO pproxy.gmail.com) (64.233.166.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 00:47:00 -0700 Received: by pproxy.gmail.com with SMTP id t32so1828344pyc for ; Thu, 27 Apr 2006 00:45:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=SyqJjfdTKZVHkaFRwcvGC3Ll9BTH8/YyLHEMjK2LhQoH/ku7qmbh0zbu9MLi44yURZ9Oxv6NrowZ+MfdatV/ev9WzQT1n/QwrscqvrfS9pvY+rRy6lx2oNNWWmbem8S2XWCYEvs/od7/wf7yhXUyaLnLwB+Aq82Tfi64F0m5slA= Received: by 10.35.37.18 with SMTP id p18mr932590pyj; Thu, 27 Apr 2006 00:45:40 -0700 (PDT) Received: by 10.35.44.14 with HTTP; Thu, 27 Apr 2006 00:45:40 -0700 (PDT) Message-ID: <22d56c4d0604270045i92a7c1dk31901f8a7809d9d2@mail.gmail.com> Date: Thu, 27 Apr 2006 13:15:40 +0530 From: "Vamsavardhana Reddy" To: dev@geronimo.apache.org Subject: How to make ObjectInputStream to use a specific ClassLoader MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_429_1061944.1146123940131" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_429_1061944.1146123940131 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I am trying to read an object from file using ObjectInputStream. The readObject method is throwing a ClassNotFoundException. How do I make ObjectInputStream to use a different ClassLoader which can load this class? Thanks, Vamsi ------=_Part_429_1061944.1146123940131 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

I am trying to read an object from file using ObjectInputStream.  The readObject method is throwing a ClassNotFoundException.  How do I make ObjectInputStream to use a different ClassLoader which can load this class?

Thanks,
Vamsi
------=_Part_429_1061944.1146123940131--