This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 109213 - Problem with more than one MDB
Summary: Problem with more than one MDB
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P2 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-10 10:12 UTC by Michal Mocnak
Modified: 2007-08-03 05:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Mocnak 2007-07-10 10:12:53 UTC
Latest nb60 build 20070710

Create an EAR (1.4) with EJB and WEB modules. In ejb create a 2 (feel free to create more) message driven beans. Each
with  different new project destination.

Create a new servlet and call action 'Send JMS' (same is for calling this from session bean). The dialog you see has
combo where you can choose from message driven beans and their destination.

There is only the first created message driven bean and its destination. The others it's not possible to choose.
Comment 1 Michal Mocnak 2007-07-10 11:11:02 UTC
it seems to be related to glassfish. i have tried it with jboss 4.2 ga and its functional.
Comment 2 martin_adamek 2007-07-31 15:44:28 UTC
Problem is that j2eeModuleProvider.getConfigSupport().findMessageDestinationName(mdbName) returns null for second MDB (first one is OK). Reassigning.
Comment 3 Nitya Doraisamy 2007-08-03 04:51:39 UTC
Simple fix. Error in array index, beans[0] instead of beans[i]