Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 08325200D4B for ; Mon, 27 Nov 2017 16:58:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 06D57160C13; Mon, 27 Nov 2017 15:58:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4D44B160C02 for ; Mon, 27 Nov 2017 16:58:03 +0100 (CET) Received: (qmail 14641 invoked by uid 500); 27 Nov 2017 15:58:02 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 14631 invoked by uid 500); 27 Nov 2017 15:58:02 -0000 Delivered-To: apmail-openejb-commits@openejb.apache.org Received: (qmail 14628 invoked by uid 99); 27 Nov 2017 15:58:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2017 15:58:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C78AFC56EA for ; Mon, 27 Nov 2017 15:58:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.011 X-Spam-Level: X-Spam-Status: No, score=-99.011 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KB_WAM_FROM_NAME_SINGLEWORD=0.2, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 0Xl8TEAkUAR5 for ; Mon, 27 Nov 2017 15:58:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id ED0FD5F21E for ; Mon, 27 Nov 2017 15:58:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 80C36E095C for ; Mon, 27 Nov 2017 15:58:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1FDB3241A3 for ; Mon, 27 Nov 2017 15:58:00 +0000 (UTC) Date: Mon, 27 Nov 2017 15:58:00 +0000 (UTC) From: =?utf-8?Q?Fran=C3=A7ois_Courtault_=28JIRA=29?= To: commits@openejb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TOMEE-2150) Tomee 7.0.4 issue with CDI interceptor and WebServiceContext resource injection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 27 Nov 2017 15:58:04 -0000 [ https://issues.apache.org/jira/browse/TOMEE-2150?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Fran=C3=A7ois Courtault updated TOMEE-2150: -------------------------------------- Affects Version/s: 7.0.4 > Tomee 7.0.4 issue with CDI interceptor and WebServiceContext resource inj= ection=20 > -------------------------------------------------------------------------= ------- > > Key: TOMEE-2150 > URL: https://issues.apache.org/jira/browse/TOMEE-2150 > Project: TomEE > Issue Type: Bug > Affects Versions: 7.0.4 > Reporter: Fran=C3=A7ois Courtault > Priority: Critical > > I have defined an annotation like below: > @Inherited > @InterceptorBinding > @Target({ElementType.METHOD, ElementType.TYPE}) > @Retention(RetentionPolicy.RUNTIME) > public @interface MyInterceptor { > @NonBinding > String level() default "INFO"; > } > Then, I have written a class like this: > @MyInterceptor > @Interceptor > public class MyInterceptor { > private Class intercepted; > @AroundInvoke > public Object myMethod(final InvocationContext ctx) throws Exception { > ..... > } > } > In my POJO, webservice endpoint, I have: > @WebService(name =3D "MyManager", targetNamespace =3D"http://com.test/wsd= l", > serviceName =3D "MyManagerService") > @MyInterceptor > public class MyManager implements IMyManager { > @resource > private WebServiceContext wsc; //=3D>=3D> ALWAYS null on TomEE 7.0.4!!! > .... > } > } > That's the test case I built which doesn't work on TomEE 7.0.4 but works = on Glassfish 4.1.2/5.0, Weblogic Server 12.2.1.3 and Wildfly 10.0.1/11.0.0. -- This message was sent by Atlassian JIRA (v6.4.14#64029)