Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 51603 invoked from network); 6 Dec 2007 11:31:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2007 11:31:09 -0000 Received: (qmail 40222 invoked by uid 500); 6 Dec 2007 11:30:56 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 40202 invoked by uid 500); 6 Dec 2007 11:30:56 -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 40191 invoked by uid 99); 6 Dec 2007 11:30:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2007 03:30:56 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harikrishna.korrapati@gmail.com designates 209.85.146.177 as permitted sender) Received: from [209.85.146.177] (HELO wa-out-1112.google.com) (209.85.146.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2007 11:30:32 +0000 Received: by wa-out-1112.google.com with SMTP id j4so469492wah for ; Thu, 06 Dec 2007 03:30:35 -0800 (PST) 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:references; bh=+IT0TcktxLyoHNB2FpYL3/Hl8dtOOfXb1GaNvumawYU=; b=izrxvgPHD2HbwIDxjWphkMSA/toW+cGG3SSvvAwYAGcY4JWfK2bpv81VpELWwA1Nn6VAQU7WJzxUm5QX9QhpcT0vbK9GIDXPSuqw1xE32qGEswtw4DrBnZzwCoQYITjF2TM6Ulxe2nCUSSY6cvWmW2rhcuUZ7B7o5RyqjYFzkt0= 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:references; b=GlGVovf79PFluOkTkLPoANBw38PjtnW/J3/KRbGAtHN6P9OuwvR20m3esrqk+NS0ZcXV6MwdaRZxygOIrvZyQXMx08iy8g1yx9TYTcbHBLjwIQyndujcdA41CTj8uZ8mbgvCzWcPogsk03r80KaLWBbk8DF7QkX4DZXgQsD3UQM= Received: by 10.114.37.1 with SMTP id k1mr1713819wak.1196940635136; Thu, 06 Dec 2007 03:30:35 -0800 (PST) Received: by 10.114.92.19 with HTTP; Thu, 6 Dec 2007 03:30:35 -0800 (PST) Message-ID: <8a855ce00712060330q59df0a98s44b39e5c6461fc40@mail.gmail.com> Date: Thu, 6 Dec 2007 17:00:35 +0530 From: "Hari Krishna Korrapati" To: user@geronimo.apache.org, jacek@laskowski.net.pl Subject: Re: Problem with cglib jar In-Reply-To: <1b5bfeb50712050332h2871a27fk5322b49870ab4761@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6372_26190738.1196940635131" References: <8a855ce00712050318t3812a146t5b8fae54b1345c6e@mail.gmail.com> <1b5bfeb50712050332h2871a27fk5322b49870ab4761@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6372_26190738.1196940635131 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Geronimo 1.1.1 has the feature of hidding classes. I tried the option given in the link provided by you, but no luck. On Dec 5, 2007 5:02 PM, Jacek Laskowski wrote: > On Dec 5, 2007 12:18 PM, Hari Krishna Korrapati > wrote: > > Hi, > > > > I am facing a problem with cglib jar. > > When i am trying to deploy my ear, i am getting an exception saying > > > > 16:44:28,862 ERROR [[/sample]] StandardWrapper.Throwable > > java.lang.NoClassDefFoundError: net/sf/cglib/KeyFactory > ... > > when i googled it i didnt get exact solution but came to know there is > some > > problem with hibernate and cglib jars. > > My ear has hibernate-2.0.3.jar and cglib-asm-1.0.jar. > > > > > > System environment is: > > Application Server: Geronimo 1.1.1, JDK 1.5 > > I think you need some sort of jar filtering so Geronimo jars don't > clash with your application's jars. I didn't use G 1.1.1 for a long > time and don't know whether the feature of hidding classes was > available at all or not. Google'd it and came across this - Running > Spring And Hibernate On Geronimo 1.0 (http://www.virtuas.com/node/83). > See if it works for you and report back. > > Jacek > > -- > Jacek Laskowski > http://www.JacekLaskowski.pl > -- Regards, Hari ------=_Part_6372_26190738.1196940635131 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,
Geronimo 1.1.1 has the feature of hidding classes.
I tried the option given in the link provided by you, but no luck.


On Dec 5, 2007 5:02 PM, Jacek Laskowski < jacek@laskowski.net.pl> wrote:
On Dec 5, 2007 12:18 PM, Hari Krishna Korrapati
<harikrishna.korrapati@gmail.com> wrote:
> Hi,
>
> I am facing a problem with cglib jar.
> When i am trying to deploy my ear, i am getting an exception saying
>
> 16:44:28,862 ERROR [[/sample]] StandardWrapper.Throwable
> java.lang.NoClassDefFoundError: net/sf/cglib/KeyFactory
...
> when i googled it i didnt get exact solution but came to know there is some
> problem with hibernate and cglib jars.
> My ear has hibernate-2.0.3.jar and cglib-asm-1.0.jar.
>
>
> System environment is:
> Application Server: Geronimo 1.1.1, JDK 1.5

I think you need some sort of jar filtering so Geronimo jars don't
clash with your application's jars. I didn't use G 1.1.1 for a long
time and don't know whether the feature of hidding classes was
available at all or not. Google'd it and came across this - Running
Spring And Hibernate On Geronimo 1.0 (http://www.virtuas.com/node/83).
See if it works for you and report back.

Jacek

--
Jacek Laskowski
http://www.JacekLaskowski.pl



--
Regards,
Hari ------=_Part_6372_26190738.1196940635131--