You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by ra...@apache.org on 2019/02/01 16:26:29 UTC

[tomee] 04/16: TOMEE-2408 - Fixed CDI Scanning for MP in EAR deployments.

This is an automated email from the ASF dual-hosted git repository.

radcortez pushed a commit to branch TOMEE-2408
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit 76f91408a2ddd5d05ede0d3be93df4c3d5a96079
Author: Roberto Cortez <ra...@yahoo.com>
AuthorDate: Mon Jan 21 21:41:15 2019 +0000

    TOMEE-2408 - Fixed CDI Scanning for MP in EAR deployments.
---
 .../openejb-core/src/main/java/org/apache/openejb/cdi/CdiScanner.java   | 2 --
 1 file changed, 2 deletions(-)

diff --git a/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiScanner.java b/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiScanner.java
index e6947b0..b98987a 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiScanner.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/cdi/CdiScanner.java
@@ -133,8 +133,6 @@ public class CdiScanner implements BdaScannerService {
                 if (!ejbJar.moduleId.equals(startupObject.getWebContext().getId())) {
                     continue;
                 }
-            } else if (ejbJar.webapp && !appInfo.webAppAlone) {
-                continue;
             }
 
             if (appInfo.webAppAlone || !ejbJar.webapp) {