Ales Justin [
http://community.jboss.org/people/alesj] created the discussion
"Re: JBAS-8937; dup component install"
To view the discussion, visit:
http://community.jboss.org/message/593449#593449
--------------------------------------------------------------
I would expect this to fail as well:
acme.jar
* META-INF
** foo-jboss-beans.xml
** foo-service.xml
This actually works due to the fact, that parent deployment unit
actually holds "grouped" metadata.
e.g. KernelDeployment for BMDs and ServiceDeployment for SMDs
Hence no BMD or SMD attachment is found in parent dpeloyment unit.
Where we would pick top deployment's SMD or BMD attachment in
which ever component deployer would be the one to see 2 component deployment units.
It would pick up the parent's attachement which would be also processed as part of
component attachment.
What will make it fail is if we directly put BMD or SMD into
deployment unit, which is then the parent of component deployment unit.
Which is what RARDeployer and AppNamingDeployer do.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/593449#593449]
Start a new discussion in JBoss Microcontainer Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]