We are migrating to jboss 6.4 and have the following scenario
We are expecting the following ear's to be deployed in the order 01-1 , 01-2 , 02 etc .. which was good with jboss 5.1 .. but in 6.4 we see parallel deployment and some resources like EJB's in ear1 are not available to other ear/resources ...
Not sure how to go about it ..
ear1 - 01-1-EAR1-APP-1.29.2dev.ear
ear2 - 01-2-EAR2-WEB-1.29.2dev.earear1
ear3 - 02-EAR3-test-1.29.2dev.ear
Appreciate all the help ..Thanks..
I had the same issue during the migration. But it got resolved when I tried ejb injection rather than EJB lookup.
Give it a try.
@EJB(lookup="java:module/TestBean!com.test.TestBeanLocal")
private TestBeanLocal testLocal;