Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 29383 invoked from network); 21 Sep 2005 15:12:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2005 15:12:15 -0000 Received: (qmail 71857 invoked by uid 500); 21 Sep 2005 15:12:14 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 71837 invoked by uid 500); 21 Sep 2005 15:12:13 -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 71817 invoked by uid 99); 21 Sep 2005 15:12:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2005 08:12:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [203.100.251.2] (HELO gt-mlb-au.getin2net.com) (203.100.251.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2005 08:12:20 -0700 Received: from [127.0.0.1] ([10.100.1.2]) by gt-mlb-au.getin2net.com (8.11.6/8.11.6) with ESMTP id j8LFBmJ32537 for ; Thu, 22 Sep 2005 01:11:48 +1000 Message-ID: <433179A8.3020803@optusnet.com.au> Date: Thu, 22 Sep 2005 01:18:00 +1000 From: Gianny Damour User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Possible class path class loader problem when using Spring ClassPathXmlApplicationContext class References: <74e15baa05092105167afd3e51@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I just gave a quick try to the following packaging and it works: minimal.ear `-- external.jar `-- example/applicationContext.xml `-- minimal.war `-- META-INF/MANIFEST.MF: Class-Path: external.jar `-- WEB-INF/classes/example/ExampleController.class: which defines: static final ApplicationContext context = new ClassPathXmlApplicationContext("example/applicationContext.xml"); As pointed out by Kevan, it would be great to have the EAR to debug this problem. Thanks, Gianny On 22/09/2005 12:20 AM, Kevan Miller wrote: > Hi Paul, > Please excuse the basic question -- are you positive the xml file is > in the jar with identical spelling/capitilization? > > In answer to your previous question -- yes, the WAS 5.1 and Geronimo > classloaders are certainly different. They should be both conforming > the the J2EE spec, of course... > > Is it possible for you to share your EAR? Or, (better yet?) can you > generate a simple test that illustrates the problem? I'm afraid the > exception stack trace isn't very helpful... The "Caused By" exception > itself has a "Caused By" exception. Others might be able to intuit the > root problem, but not me... > > --kevan > > On 9/21/05, *paul.newport@targetgroup.net > * > wrote: > > > The EAR file is packaged up so that all, what we call "utility > jars" are present in the root of the main EAR project folder, and > projects that use them have a manifest class path pointing to these. > > In theory the whole thing is self contained so we don't have to > mess around with manually putting shared jars into a repository or > equivalent of (this just makes deployment easier for us - you just > install the EAR). Target www.targetgroup.net > > ********************************************************************** > DISCLAIMER. This message is intended only for the use of the > Addressee and may contain information that is PRIVILEGED and > CONFIDENTIAL. If you are not the intended recipient you must not > copy, distribute or take any action or reliance upon it. The > content of this message may also contain personal views of an > employee of this company and does not necessarily represent the > view of the company. > ********************************************************************** > This message has been scanned by Norton Anti-Virus. It has also > been scanned by MAILsweeper to enforce our e-mail policy. If you > have any concerns or comments about the content of this message, > please e-mail support@targetgroup.net > . > ********************************************************************** > > > _____________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs Email > Security System. For more information on a proactive email security > service working around the clock, around the globe, visit > http://www.messagelabs.com > >