Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D570100A1 for ; Wed, 2 Oct 2013 14:19:10 +0000 (UTC) Received: (qmail 57538 invoked by uid 500); 2 Oct 2013 14:18:58 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 57374 invoked by uid 500); 2 Oct 2013 14:18:55 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 57010 invoked by uid 99); 2 Oct 2013 14:18:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 14:18:52 +0000 Date: Wed, 2 Oct 2013 14:18:52 +0000 (UTC) From: "Arjan Tijms (JIRA)" To: dev@geronimo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (GERONIMO-6501) Duplicate war message if EAR with two wars both contain beans.xml 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/GERONIMO-6501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arjan Tijms closed GERONIMO-6501. --------------------------------- Resolution: Invalid A jira hang resulted in many duplicated issues to be created > Duplicate war message if EAR with two wars both contain beans.xml > ----------------------------------------------------------------- > > Key: GERONIMO-6501 > URL: https://issues.apache.org/jira/browse/GERONIMO-6501 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 3.0.1 > Reporter: Arjan Tijms > > Using a trivial EAR with two web modules inside it, both being nearly empty except for a single .jsp page and an empty {{beans.xml}} in {{WEB-INF}} causes a message about a duplicate war to be logged: > {noformat} > 2013-10-02 11:30:21,499 WARN [AdminObjectRefBuilder] Failed to build reference to resource env reference [java:comp/BeanManager] defined in plan file. The corresponding entry in Geronimo deployment descriptor is missing. > 2013-10-02 11:30:21,551 WARN [EjbModuleBuilder] Duplicated moduleName: 'omtest2' is found ! deployer will rename it to: 'omtest2_duplicated' , please check your modules in application to make sure they don't share the same name > 2013-10-02 11:30:21,552 WARN [AdminObjectRefBuilder] Failed to build reference to resource env reference [java:comp/BeanManager] defined in plan file. The corresponding entry in Geronimo deployment descriptor is missing. > {noformat} > The EAR is structured as follows: > {noformat} > omtest.ear > omtest1.war > WEB-INF > beans.xml > index.jsp > omtest2.war > WEB-INF > beans.xml > index.jsp > {noformat} > Optionally adding deployment descriptors {{application.xml}} and {{geronimo-application.xml}} to list the modules and set the context root of each war does not solve the problem. > The message disappears as soon as {{beans.xml}} in the second war is removed. At first sight the code seems to be deployed fine, as the {{index.jsp}} files in both wars are accessible via their respective URLs. > Yet, this may be indicative of a deeper problem with CDI in a multi-war EAR application. > -- This message was sent by Atlassian JIRA (v6.1#6144)