Feb 9th, 2010, 02:14 PM
Problem with two web applications contexts
Hi, I have an ear with 2 wars inside, each war has it's own spring configuration and they don't have any problem when i'm deploying them alone.
I'm facing a problem because the first war initializes ok the WebApplicationContext, but when the second war initializes it's seems to be that just the second context remains and the first is lost.
I am not able to use any bean from the first context(from the first war).
Is this behavior right? or I should nedd to use a shared parent application context.
Thanks in advance.