Unable to connect to any Brokers in the cluster

Hi Team,

We are getting error as given below when we try to enable the JMS connection using Java code. But the same is working when I configure JMS connection alias in IS.

[BRM.10.9003] JMS: Unable to connect to any Brokers in the cluster: Broker1@hostname1:6722 - [BRM.10.4009] JMS: Unable to connect to Broker at “hostname1:6722”: host not found;Broker2@hostname2:6742 - [BRM.10.4009] JMS: Unable to connect to Broker at “hostname2:6742”: host not found

Can anyone suggest on this ?

Regards,
Jacob

Can I have a look at the java code? What is your requirement and need for Java code?

Also, share the IS version and Broker (I assume it is v9.6).

Issue looks like networking side, Check and add the DNS entries in both sides of servers and it should work.

This was one of the cause in most of the incidents raised to SAG.

Thanks
Sharath K