Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 34569 invoked from network); 10 Nov 2009 17:58:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Nov 2009 17:58:01 -0000 Received: (qmail 85359 invoked by uid 500); 10 Nov 2009 17:58:01 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 85283 invoked by uid 500); 10 Nov 2009 17:58: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 85275 invoked by uid 99); 10 Nov 2009 17:58:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 17:58:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rickmcg@gmail.com designates 209.85.160.56 as permitted sender) Received: from [209.85.160.56] (HELO mail-pw0-f56.google.com) (209.85.160.56) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 17:57:51 +0000 Received: by pwj6 with SMTP id 6so167085pwj.35 for ; Tue, 10 Nov 2009 09:57:30 -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:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=PYc+IVJ9fBiYtBiFfjTrZniDSLTp9R1WMX4IafUcDKU=; b=u54jKaPi2lSkzE6bjfRgrhEgpkpAeCIkqiv1hu2gXAQuroJBVkQ+aMO1iFZPlHFCqg ABrDVGxY3h9vV11I4/qYUt6k220oMdnTDw6EO2eW1rQNZGdSwKiQVgNZuYy2gCGvDvne rlQvjEI47aEsoQq5a71/cJ8vHQvV34eNzyTn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Q+uCJODMhb8u/yd3LdZSlpz1Y/K2R9LW2vSzFR/KQTeUXuTaWcvE1GVEMV3Ca4o5Mx i/yaPaGRKtU4M7LccSrlOHUwC9JWEF1tSY5zM/6e6Vz0ekuBd/hSe+jo2I78yjOvXYRz qqVWuTD/0GMDR0uqAqRZrUnYoWrNDj/Lnm5WU= Received: by 10.115.66.9 with SMTP id t9mr719016wak.56.1257875850477; Tue, 10 Nov 2009 09:57:30 -0800 (PST) Received: from ?192.168.1.101? (24-151-82-15.dhcp.nwtn.ct.charter.com [24.151.82.15]) by mx.google.com with ESMTPS id 20sm581009pxi.15.2009.11.10.09.57.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 10 Nov 2009 09:57:29 -0800 (PST) Message-ID: <4AF9A98B.7040104@gmail.com> Date: Tue, 10 Nov 2009 12:57:31 -0500 From: Rick McGuire Reply-To: rickmcg@gmail.com User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Strange dependency problem building jaxws References: <4AF98DDA.4020803@gmail.com> <033E4EBB-B7E5-402B-B497-1B907E0AD72C@yahoo.com> In-Reply-To: <033E4EBB-B7E5-402B-B497-1B907E0AD72C@yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org David Jencks wrote: > > On Nov 10, 2009, at 7:59 AM, Rick McGuire wrote: > >> There are two subprojects in the jaxws plugin that I'm having trouble >> building, and I can't figure out why. The cause of the failure is a >> resolution failure trying to resolve the javax.jws package, version >> 2.0. These classes are contained in the geronimo-ws-metadata specs >> bundle, and should be there. Running the build with the -X option >> does not show any sign that this bundle is getting installed and >> started before the error. I've tried adding this as dependency in >> every pom I could think of to force this to be loaded first and >> nothing appears to have made a difference. That bundle just doesn't >> seem to get loaded. The manifests look good in all cases, but it >> just doesn't appear to load. >> >> I also tried specifying a version in the karaf config.properties on >> the javax.jws packages, but that didn't make any difference either. >> There's obviously something going wrong with how the dependencies are >> processed here, but I can't seem to spot what's messing up. >> Everything looks like what I'd expect to see when I use dependency:tree. >> For now, I've just commented these two items out so they won't build, >> but this is going to need to be solved eventually. > > I suspect these classes are also in the jvm. Maybe the situation is > similar to the one for javax.transaction where some classes come from > the jvm and some from the spec jar? The mysterious fix for that seems > to be, in etc/config.properties from > framework/config/karaf-framework/src/main/resources/filtered-resources/etc/config.properties > > > org.osgi.framework.bootdelegation=sun.*,com.sun.*,javax.transaction,javax.transaction.* > > > > and > > javax.transaction; javax.transaction.xa; partial=true; > mandatory:=partial, \ I did that experiment already, and that didn't work either. The root of the problem appears to be the explicit request for the 2.0 version. That is available in the geronimo-ws-metadata bundle, but there's no sign in any of the Felix debug output to indicate that this is getting loaded. I'm now stuck on a similar situation with geronimo-service-builder. I'm getting a constraint loading error on geronimo-service-builder because it can't find the org.apache.geronimo.xbeans.j2ee package. That's in the geronimo-schema-jee_5.1.2 bundle, but again, I'm not seeing that bundle loaded before the geronimo-service-builder bundle, so the geronimo-service-builder can't be resolved. It's really looking like there's an ordering problem in the dependency manager that's resulting in bundles not getting installed before the bundles that depend on them. Rick > > > Might be worth experimenting with anyway. > > david jencks > >> >> Rick > >