Marius Bogoevici [
http://community.jboss.org/people/marius.bogoevici] replied to the
discussion
"JBoss 5.1.0 and Multiple EARs and EJBs using the SpringBeanAutowiringInterceptor
issue"
To view the discussion, visit:
http://community.jboss.org/message/545649#545649
--------------------------------------------------------------
Looking quickly at your examples: it seems like the main reason why this is happenning is
the lack of isolation between the EARs, so that both beanRefContext.xml files are seen on
the CP when ContextSingletonBeanFactoryLocator is trying to load resources as
"classpath*:beanRefContext.xml" (hence the complaint that the context is not
unique).
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/545649#545649]
Start a new discussion in Spring Integration at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]