From users-return-26626-archive-asf-public=cust-asf.ponee.io@tomee.apache.org Tue May 1 15:56:39 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 17706180645 for ; Tue, 1 May 2018 15:56:38 +0200 (CEST) Received: (qmail 36980 invoked by uid 500); 1 May 2018 13:56:37 -0000 Mailing-List: contact users-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tomee.apache.org Delivered-To: mailing list users@tomee.apache.org Received: (qmail 36964 invoked by uid 99); 1 May 2018 13:56:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2018 13:56:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1FB291A1BEE for ; Tue, 1 May 2018 13:56:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 4oGnELYCDv84 for ; Tue, 1 May 2018 13:56:34 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 534F85F167 for ; Tue, 1 May 2018 13:56:34 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id g12-v6so16365936lfb.10 for ; Tue, 01 May 2018 06:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=iOReSDgaEjFaalySnf4iSrQbHcn10ICcAnUQklPD+0c=; b=hraVeaFlt/6O2AiZIO56THzpy3AN60LcNIFlfEn/M2C32ZBhmMD4usTgJuoAHzfoib tl4rwY9wgeo5+bFlAEFdR0q4iF0996nEeTzSD6Lt6VcMsdIZ2biKQWSANqAcsGG8fOAo QFyr5ovp9hOBGRORY1u1G4vzvhcLCQouuBRwekoqeWlgM0TOO45bmugnA5KU+e+RvE5l EDQ39+76U9Ics6mQsP58LOdaDBt0ZoHa/9uLvOEo6LTh/jRv0K5ot3OChlL5ftS0D09j XqpTXaNA+e09HwxFMZKR+4eXpkTXLsqEWbGAd4OCkMcoT/TNFkHSGflr8NobuWCbXC+E XEQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=iOReSDgaEjFaalySnf4iSrQbHcn10ICcAnUQklPD+0c=; b=EWg6e6hdAOF8z72TVCsO5xwzo8AV62GDxEvCEzWn8fKkezxMe8fFBudVBi8d6FQixY 96fsvQFB4XsTPjUJSAFYrVVEp9O8FC28GnSRLC9om8I3aaJta3oRx01u583ouSxvhINU 7omM9dANlIh/Y2/GJGWMzcmthLvHHhyA9BQCyTwwjgy5dpGeNRMqU8LCPOni8eWzLisV MCdljVNSNH0OlRrrEFtDUu7UpakmopOAT00b0PXczOlPQ+agkR8EatSp2VILRNqxfWAh wXWfz8lggLSoRo9cc9IpUwALzQNAQVTLid0vi21GzeuwkcftxqFzMITh1f/eUX06qcaw RZmQ== X-Gm-Message-State: ALQs6tBj8RrluI/KktfFqOuXuPg4ewTJAiGMSiVXagnSWBoQfLOfByBu X39P1vCEYsNeJ74fegomBmB8AD1yUY5TqOwvm7k= X-Google-Smtp-Source: AB8JxZpjwGItW2DJYJUchu99cgLBruMK5bldiAlk9Q4ONP792ifnBJDbZi1c9QraKNHoCFrv+oA1uNA1LReWpiBh72Q= X-Received: by 2002:a2e:954b:: with SMTP id t11-v6mr3738350ljh.138.1525182988079; Tue, 01 May 2018 06:56:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.89.142 with HTTP; Tue, 1 May 2018 06:56:27 -0700 (PDT) In-Reply-To: References: From: Jonathan Gallimore Date: Tue, 1 May 2018 14:56:27 +0100 Message-ID: Subject: Re: ServletContainerInitializer in EAR To: users@tomee.apache.org Content-Type: multipart/alternative; boundary="00000000000038eb3a056b255641" --00000000000038eb3a056b255641 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for reporting that. I'm working in that area at the moment. I'll take a look. Are you using TomEE 7.0.4? Jon On Tue, May 1, 2018 at 2:49 PM, Tam=C3=A1s Kimmel wrot= e: > Hi! > > I am experiencing ServletContainerInitializer with @HandlesTypes always g= et > null classSet inside a WAR module of an EAR. > When I deploy as a single WAR, it works as expected. > > My test can be found here: > https://github.com/kumm/flow-cdi-addon/blob/ear-test/flow- > cdi-itest/src/test/java/com/wcs/vaadin/flow/cdi/itest/EarPlainTest.java > > SerletContextListener is in a library of the WAR, it's code can be found > here: > https://github.com/vaadin/flow/blob/master/flow-server/ > src/main/java/com/vaadin/flow/server/startup/RouteRegistryInitializer.jav= a > > If it is worth creating a more trimmed down testcase, I shall do it. > > Kimmel Tam=C3=A1s > --00000000000038eb3a056b255641--