Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F11DE17ED4 for ; Thu, 15 Oct 2015 14:09:14 +0000 (UTC) Received: (qmail 7817 invoked by uid 500); 15 Oct 2015 14:09:05 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 7779 invoked by uid 500); 15 Oct 2015 14:09:05 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 7765 invoked by uid 99); 15 Oct 2015 14:09:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2015 14:09:05 +0000 Date: Thu, 15 Oct 2015 14:09:05 +0000 (UTC) From: "Thorsten Meinl (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-6347) CXF bundle activators not called in Eclipse/Equinox MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14958956#comment-14958956 ] Thorsten Meinl commented on CXF-6347: ------------------------------------- As I said the bundle is *not* started by Equinox, therefore the activator is not called (which is OK). You need the additional bundle header to force a start. I don't want to use Karaf or anything else. It would work perfectly without any additional stuff if this header was added. Currently this is a blocker for all Eclipse-based applications. > CXF bundle activators not called in Eclipse/Equinox > --------------------------------------------------- > > Key: CXF-6347 > URL: https://issues.apache.org/jira/browse/CXF-6347 > Project: CXF > Issue Type: Bug > Components: OSGi > Affects Versions: 3.0.4 > Environment: Eclipse 4.4 > Reporter: Thorsten Meinl > > The CXF bundles have OSGi activators that perform initialization stuff such as looking for CXF services in other bundles. However, in Equinox the bundle activators are not called unless one explicitly starts the bundles. The default strategy in Equinox is not to start bundles, unless the "Bundle-ActivationPolicy" is set to "lazy". Therefore this header should be added to all bundles so that CXF (esp. the client) is also usable inside an Eclipse application. -- This message was sent by Atlassian JIRA (v6.3.4#6332)