[ http://jira.jboss.com/jira/browse/JBAS-275?page=comments#action_12315001 ] Scott M Stark commented on JBAS-275: ------------------------------------
A potential migration issue caused by this change is seen if components are accessing the ejb local homes assuming they know what the global jndi binding is. Since the global jndi binding is now essentially random, the standard ejb-jar.xml/web.xml ejb-link or a jboss.xml/jboss-web.xml local-jndi-name is required to know what jndi name to use for the local home lookup. > 2 identical named mdbs cannot deploy > ------------------------------------ > > Key: JBAS-275 > URL: http://jira.jboss.com/jira/browse/JBAS-275 > Project: JBoss Application Server > Type: Bug > Versions: JBossAS-3.2.6 Final > Reporter: SourceForge User > Assignee: Scott M Stark > Fix For: JBossAS-3.2.7 Final, JBossAS-4.0.2RC1 > > > SourceForge Submitter: charris . > Two MDBs, both with the same ejb-name but *in different > ejb-jars*, both produce MBeans with ObjectName > jboss.j2ee:jndiName=local/MyMDBEJBName,service=EJB > meaning that the second MDB will not deploy properly > since the MBeanServer returns > InstanceAlreadyExistsException. The ObjectNames are > formed with the prefix "/local" to produce a dummy jndi > name, but need to be more unique than this to avoid the > clash. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development