This content has been marked as final.
Show 2 replies
-
1. Re: RAR inside EAR, JBoss 5.1.0
wolfgangknauf Aug 5, 2010 8:40 AM (in response to grta12)Hi,
maybe it helps to add a "@Depends" annotation to your MDB:
@MessageDriven(
name="TestMDB",
messageListenerInterface=FSListener.class)
@ResourceAdapter("Test.ear#Test-ra.rar")@Depends (value="jboss.jca:service=RARDeployment,name='Test.ear#Test-ra.rar'")
public class TestListenerMDB implements MessageDrivenBean, FSListener {...
}
this should wait with MDB deployment until the dependent service was started. I don't know whether the name is correct, you should check it in JMX console. I just picked thje name from your error message.
Hope this helps
Wolfgang
-
2. Re: RAR inside EAR, JBoss 5.1.0
grta12 Aug 6, 2010 1:53 AM (in response to wolfgangknauf)Wolfgang!
Thank you very much!
I tried @Depends annotation before, but I wrote name='Test.ear#Test-ra.rar' without apostrophes.
It works now perfectly!
Thank you!!!