I'm going to try and clarify my question. I am wondering why my services deploy correctly when running in a non clustered environment but not when I deploy them as HASingleton services. Secondly why does the order change in how services and resources are deployed when switching to a clustered environment.
My application consists of a service deployed as a .war that interacts with activeMq deployed within jboss as a .rar. In a non-clustered environment the application deploys correctly but when switched to a clustered environment the service deployed in the .war cannot communicate with activeMq.
I'll try asking a simpler question. Why does the order of deployment change when deploying services as HASingletons as opposed to the order in a non clustered environment.
Further update. I am deploying two wars and a sar in my jboss installation. I can deploy one of the wars and the .sar in the hasingleton directory without issue but for some reason the one war will not deploy. Is their a way to ensure that the troublesome war deploys last?
My more general question is how do I control deployment order in the hasingleton folder. As I mentioned before everything deploys fine in a non-clustered environment.