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 E954D17F72 for ; Tue, 3 Feb 2015 13:12:35 +0000 (UTC) Received: (qmail 84417 invoked by uid 500); 3 Feb 2015 13:12:36 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 84378 invoked by uid 500); 3 Feb 2015 13:12:36 -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 84240 invoked by uid 99); 3 Feb 2015 13:12:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 13:12:36 +0000 Date: Tue, 3 Feb 2015 13:12:36 +0000 (UTC) From: "Krystian Panek (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CXF-6221) CDI integration extension does not detect annotations on Karaf 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-6221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303230#comment-14303230 ] Krystian Panek edited comment on CXF-6221 at 2/3/15 1:12 PM: ------------------------------------------------------------- Already, yes. After few days I willl push to some github repo what I did to get it work. I am afraid that it will be hard to have only one pom for that integration. It would be great if Andriy will help. Thank you very much. was (Author: ciapunek): Already, yes. After few days I willl push to some github what I have done to get it work. I am afraid that it will be hard to have only one pom for that integration. It would be great if Andriy will help. Thank you very much. > CDI integration extension does not detect annotations on Karaf > -------------------------------------------------------------- > > Key: CXF-6221 > URL: https://issues.apache.org/jira/browse/CXF-6221 > Project: CXF > Issue Type: Bug > Components: Integration, JAX-RS > Reporter: Krystian Panek > Assignee: Sergey Beryozkin > Labels: cdi, extension, integration, karaf > Fix For: 3.0.4, 3.1.0 > > Attachments: screenshot-1.png > > > I am trying to use portable extension to get working CDI 1.2 and CXF 3.0.2 on Apache Karaf. I wrapped it into OSGi bundle. I installed to my container also: > * weld 2.1.1 > * pax-cdi-1.2 > * pax-cdi-1.2-web > * pax-cdi-web-weld > My JAXRS resources are not found by extension because some line from class **JAXRSCdiResourceExtension** returns false even annotated element contains proper annotation but as a proxy (see attachment image / screenshot from debugger). > {code} > if (event.getAnnotated().isAnnotationPresent(ApplicationPath.class)) { > {code} > It would be nice, to tell me how to get it working. I also tested CDI-1.1. Same situation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)