-
1. Re: Jboss throws ERROR on deploying war file in HASingleton
dyazbek Sep 12, 2008 2:54 AM (in response to singhannie)I'm no JBoss expert, but i deployed a MDB with the HASingletonDeployer of Barrier type.
In my situation, I was deploying to the farm directory, but did not want to have to make a totally separate war file that just contained the single MDB (to be deployed as a HASingleton) so, I put this config under the MDB's entry in jboss.xml. I think in this situation, it is valid to put the XML you describe into jboss.xml
In your situation, I think you can just deploy to the deploy-hasingleton directory without having to configure anything, and it should just work...
Try undo your changes to deploy-hasingleton-service.xml and deploy to the deploy-hasingleton dir. -
2. Re: Jboss throws ERROR on deploying war file in HASingleton
singhannie Sep 12, 2008 10:47 AM (in response to singhannie)Thanks dyazbek,
yes it works irrespective of whether I add the dependency on barrier or not.
but if I add the dependency, there is an error at Jboss starts up, which I guess might be because of some configuration problem, but application is accessible through browser.
ok so I decide to ignore this problem, but you have any soln to avoid this ERROR... please provide your inputs.
now moving on to the next step...
jboss in all the nodes (say 2) was started using "run -c all -b 0.0.0.0" so each instance is bound to the corresponding IP. meaning to say is instance on node 1 is bound to IP1 and instance of node2 is bound to IP2.
Now say node 1 is master, the application is accessible on http://<IP1>:8080/<app name>/ not on http://<IP2>:8080/<app name>/
and if node 2 is master, the application is accessible on
http://<IP2>:8080/<app name>/ not on http://<IP1>:8080/<app name>/
Problem:
As a user of the application, I should not be bothered about what is the master node's IP. there should a domain name or IP for that applicaiton and application should be accessible through that IP or domain name irrespective of which node is Master.
So is there any way to configure the IP/domain name, which sheilds user from all this switching from Master to standby and vice-varsa.