Now I'm testing (with Jboss 4.0.1) another configuration. In one computer have a cluster of two instances, which has the JBossMQ HASingleton server. Now in the other computer there are another cluster of two instances with the MDBs. These MDBs are bound by means of a RemoteJMSProvider like in the previous post.
When I test this system, I get another different exception.
javax.jms.JMSException: Error creating the dlq connection: XAConnectionFactory
After testing the example of the first post, and this recent example, I take some conclusions:
1) If the JNDIProviderAdapter is configured for url provider for JNDI with (i.e. 192.168.24.13:1099), the configuration runs properly
2) However, if is configured for url provider for HAJNDI (i.e. 192.168.24.13:1100), the server lookups in the local host, regardless the HAJNDI host specifIED.
Is this correct, or I'm doing something wrong?
And the same question, how can I configure the server so that the MDBs can access the remote queue, placed in a cluster, with HAJNDI?
Questions about HAJNDI should be targetted at the clustering forum.
You might also want to post its configuration, don't you think?