Community

JBoss 5.1.0 and Multiple EARs and EJBs using the SpringBeanAutowiringInterceptor issue

reply from Marius Bogoevici in Spring Integration - View the full discussion

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

Start a new discussion in Spring Integration at Community