Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 13864 invoked from network); 9 Dec 2008 00:08:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Dec 2008 00:08:10 -0000 Received: (qmail 51237 invoked by uid 500); 9 Dec 2008 00:08:20 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 51179 invoked by uid 500); 9 Dec 2008 00:08:20 -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 51162 invoked by uid 99); 9 Dec 2008 00:08:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Dec 2008 16:08:20 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2008 00:08:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 56489234C348 for ; Mon, 8 Dec 2008 16:07:44 -0800 (PST) Message-ID: <890623936.1228781264352.JavaMail.jira@brutus> Date: Mon, 8 Dec 2008 16:07:44 -0800 (PST) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-4452) Is it possible to deploy more than one mdb??? In-Reply-To: <109085346.1228781144190.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks closed GERONIMO-4452. ---------------------------------- Resolution: Fixed fixed rev 724559. > Is it possible to deploy more than one mdb??? > --------------------------------------------- > > Key: GERONIMO-4452 > URL: https://issues.apache.org/jira/browse/GERONIMO-4452 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: OpenEJB > Affects Versions: 2.2 > Reporter: David Jencks > Assignee: David Jencks > Fix For: 2.2 > > > Not sure how this code from EjbModuleBuilder is supposed to work with more than one mdb before the patch... its inside a loop through the mdbinfos that sets the containerId on them... > @@ -883,10 +883,11 @@ > // add a dependency from the module to the ra so we can be assured the mdb > // container exists when this app is started > ejbModuleGBeanData.addDependency(resourceAdapterAbstractName); > - for(MessageDrivenBeanInfo mdbInfo:mdbs.values()){ > - if(mdbInfo != null && mdbInfo.containerId == null){ > - throw new DeploymentException("No Resource Adapter defined for MDB '" + mdbInfo.ejbName + "'"); > - } > + } > + //check that all the mdbs have resource adapters identified. > + for(MessageDrivenBeanInfo mdbInfo:mdbs.values()){ > + if(mdbInfo != null && mdbInfo.containerId == null){ > + throw new DeploymentException("No Resource Adapter defined for MDB '" + mdbInfo.ejbName + "'"); > } > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.