If you are inside the server, it will always connect to that same server.
You can enable load balancing on the CF used by the Resource Adapter, but it
would become a mess.
As you have MDBs and other Beans, you will have other things controlling
balancing for you. For instance as you get
I think I am over that issue, the problem was that when I look-up from the
server to ClusterConnectionFactory it actually gives me the local instance and
it doesn't matter what addresses been mentioned in the
java.naming.provider.url.
So I have solved that problem by creating another CF on