[
https://issues.apache.org/jira/browse/GERONIMO-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Manu T George updated GERONIMO-4452:
------------------------------------
Affects Version/s: 2.1.4
Fix Version/s: 2.1.4
> 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.1.4, 2.2
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: 2.1.4, 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.