Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E00EC7523 for ; Thu, 6 Oct 2011 11:12:52 +0000 (UTC) Received: (qmail 90704 invoked by uid 500); 6 Oct 2011 11:12:52 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 90488 invoked by uid 500); 6 Oct 2011 11:12:52 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 90428 invoked by uid 99); 6 Oct 2011 11:12:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 11:12:52 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2011 11:12:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 02A592AC102 for ; Thu, 6 Oct 2011 11:12:30 +0000 (UTC) Date: Thu, 6 Oct 2011 11:12:30 +0000 (UTC) From: "Jamie goodyear (Updated) (JIRA)" To: issues@karaf.apache.org Message-ID: <1943421598.2964.1317899550012.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1686762236.34286.1316169968950.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (KARAF-867) Inconsistent deployment behavior between bundle installer and feature installer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-867?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Jamie goodyear updated KARAF-867: --------------------------------- Fix Version/s: (was: 2.2.4) 2.2.5 Bumping out to 2.2.5 to provide more time for investigation. =20 > Inconsistent deployment behavior between bundle installer and feature ins= taller=20 > -------------------------------------------------------------------------= ------- > > Key: KARAF-867 > URL: https://issues.apache.org/jira/browse/KARAF-867 > Project: Karaf > Issue Type: Bug > Components: karaf-features > Affects Versions: 2.2.3 > Environment: Windows 7, Cygwin, Equinox as underlying OSGi framew= ork. > Reporter: Peter Gardfj=C3=A4ll > Fix For: 2.2.5, 3.0.0 > > > The (drop-in) deployment behavior differs between the bundle installer an= d the feature installer. > To be more specific, the problem occurs when trying to deploy the bundle = mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0, > which declares an import on package javax.transaction.xa. When dropping t= he bundle jar file into the deploy directory it resolves and fires up as ex= pected. > However, when dropping the following feature descriptor > > > mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_s= pec/2.0.0 > > > which should be semantically equivalent to dropping the jar file into the= deploy folder, the installation fails with the following error : > [ERROR] 2011-09-09T08:04:12.829 [Framework Event Dispatcher:org.apache.ka= raf.deployer.features.FeatureDeploymentListener:bundleChanged:138] Unable t= o install features > java.lang.Exception: Could not start bundle mvn:org.apache.geronimo.specs= /geronimo-j2ee-connector_1.5_spec/2.0.0 in feature(s) j2ee_connector_featur= e-1.0.0-SNAPSHOT: The bundle "org.apache.geronimo.specs.geronimo-j2ee-conne= ctor_1.5_spec_2.0.0 [43]" could not be resolved. Reason: Missing Constraint= : Import-Package: javax.transaction.xa; version=3D"0.0.0" > at org.apache.karaf.features.internal.FeaturesServiceImpl.install= Features(FeaturesServiceImpl.java:353) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1= .6.0_27] > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess= orImpl.java:39)[:1.6.0_27] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:25)[:1.6.0_27] > at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_27] > at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler= .java:50)[7:org.apache.aries.proxy:0.3.0] > at org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapp= er.java:31)[7:org.apache.aries.proxy:0.3.0] > at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.j= ava:78)[7:org.apache.aries.proxy:0.3.0] > at $Proxy1.installFeatures(Unknown Source)[11:org.apache.karaf.fe= atures.core:2.2.3] > at org.apache.karaf.deployer.features.FeatureDeploymentListener.b= undleChanged(FeatureDeploymentListener.java:133)[31:org.apache.karaf.deploy= er.features:2.2.3] > at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dis= patchEvent(BundleContextImpl.java:919)[osgi-3.6.2.R36x_v20110210.jar:] > at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent= (EventManager.java:227)[osgi-3.6.2.R36x_v20110210.jar:] > at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.r= un(EventManager.java:337)[osgi-3.6.2.R36x_v20110210.jar:] > Caused by: org.osgi.framework.BundleException: The bundle "org.apache.ger= onimo.specs.geronimo-j2ee-connector_1.5_spec_2.0.0 [43]" could not be resol= ved. Reason: Missing Constraint: Import-Package: javax.transaction.xa; vers= ion=3D"0.0.0" > at org.eclipse.osgi.framework.internal.core.AbstractBundle.getRes= olverError(AbstractBundle.java:1317)[osgi-3.6.2.R36x_v20110210.jar:] > at org.eclipse.osgi.framework.internal.core.AbstractBundle.getRes= olutionFailureException(AbstractBundle.java:1301)[osgi-3.6.2.R36x_v20110210= .jar:] > at org.eclipse.osgi.framework.internal.core.BundleHost.startWorke= r(BundleHost.java:319)[osgi-3.6.2.R36x_v20110210.jar:] > at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(= AbstractBundle.java:284)[osgi-3.6.2.R36x_v20110210.jar:] > at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(= AbstractBundle.java:276)[osgi-3.6.2.R36x_v20110210.jar:] > at org.apache.karaf.features.internal.FeaturesServiceImpl.install= Features(FeaturesServiceImpl.java:350) > ... 12 more=20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira