I wanted to deploy an EAR in singleton mode in a two machines cluster.
I try to do this by deploying it in the deploy-hasingleton directory in my jboss configuration. My EAR was detected but I need to force my EAR to be loaded only after JMS service is loaded or else it the jndi jms components my EAR needed won't be available yet. The JMS service is also in the deploy-hasingleton directory.
Is there any way to do this? is there any way to force the order of how things in the deploy-hasingleton load ?