Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B732C4731 for ; Tue, 31 May 2011 16:01:04 +0000 (UTC) Received: (qmail 2928 invoked by uid 500); 31 May 2011 16:01:04 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 2745 invoked by uid 500); 31 May 2011 16:01:04 -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 2738 invoked by uid 99); 31 May 2011 16:01:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2011 16:01:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kevan.miller@gmail.com designates 74.125.83.54 as permitted sender) Received: from [74.125.83.54] (HELO mail-gw0-f54.google.com) (74.125.83.54) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2011 16:00:55 +0000 Received: by gwb15 with SMTP id 15so2704461gwb.13 for ; Tue, 31 May 2011 09:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=GjzYEvnDNg0Syx6C51vmh79My51H9c76ZYz0wXGoNbw=; b=YgygP8fqmPFTxq8ck0jzH2B98oMGykkzgBFvP2da9LU5psTAfQkFJ+KjmENCcSQq6Z mldD3fR1VyGGkoZEpPTtTkJnftRGzhQy0FjhCksbgsiRhHlWaHWFoInF9wcigf3pQSrE +LE/op67KbItNCjQQvs+qW+1kN7SwnHZVpZqY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=ScAUcd3Q5eId5Avj8tScsGMzCdCRrmDdYJ8FYdtfEoeM9R1bv9aGmq9xFidWet4urB arAr9AnBjERHsJuwKXGYWg4Gw5iL1lThOcG/JZ2y3f/FFFIuJWwIZl7LTaupNcJkwq77 1Rk5r7SfFmlpF7aRAOWOXiQHeCXHyd3q56Cao= Received: by 10.146.160.29 with SMTP id i29mr2592867yae.29.1306857409942; Tue, 31 May 2011 08:56:49 -0700 (PDT) Received: from [10.0.1.198] (cpe-066-057-037-066.nc.res.rr.com [66.57.37.66]) by mx.google.com with ESMTPS id n29sm150490yhj.82.2011.05.31.08.56.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 08:56:48 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: class path issue From: Kevan Miller In-Reply-To: <1306849115500-3005965.post@n3.nabble.com> Date: Tue, 31 May 2011 11:56:47 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1306849115500-3005965.post@n3.nabble.com> To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org On May 31, 2011, at 9:38 AM, ranbaab wrote: > Hi all, >=20 > Our web application deploy on tomcat is planning to move to > geronimo-tomcat6-2.2. >=20 > In our application, we use castor-codegen-1.1 to generate the java = class > from the schema file. > The generated class is using the method=20 > Unmarshaller.unmarshal(com/bnt/ui/preference/xml/UserPreference, = reader) > from the castor-1.1. Hi Ranjan, Geronimo includes castor 1.0.5. I'm not positive, but I think it will = probably be in one of your parent classloaders. So, if you require = castor 1.1, you'll want to hide castor from your application. A = deployment plan like the following should do that: org.mygroup MyApp 1.1 car org.exolab org.castor To deploy, something like: ./bin/deploy.sh deploy No guarantees that this will actually alter the behavior of your app... = May need more information... But let's start by using a single version = of castor... --kevan=