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/544955#544955
--------------------------------------------------------------
Looks odd. Are you sure that the deployments include the beanRefContext.xml file only once
(also considering JARs)? What really happens there is that the application context for
EJB2 is constructed with both XMLs so I am wondering if both of them are included in the
EAR.
Can you try to deploy only EJB2 and invoke it remotely (without EAR1 being present) and
see what happens? If you're still seeing issues then EAR2 might be at fault.
Also, how do you deploy Spring - shared lib or included with each EAR?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/544955#544955]
Start a new discussion in Spring Integration at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]