If you use a connection factory with "enableFailover" set to true, then when an
exception occurs it will automatically try and reconnect to another server, so you
won't get the exception unless it can't reconnect.
See user guide
If you don't want automatic failover then set to false and you will get all
exceptions.
There is also a bug in jboss remoting 2.2.2.SP4 which means sometimes you won't get
exceptions on failure. See JIRA for more details. This bug is fixed in 2.2.2.SP5 which is
available in the repository.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135879#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...