IS goes unresponsive when JMS is down


We are seeing this strange problem and every time we have this problem, we had to restart the sever.

We are using ActiveMQ as the JMS Provider and using JNDI lookup.

url is


[/INDENT]When the activeMQ goes down, we are seeing the below message in server log.

[INDENT] [ISS.0134.0020E] Exception occured while pinging JMS provider “xxxxxxx”: javax.jms.JMSException: Failover timeout of 20000 ms reached.

[/INDENT]server keep on trying to connect to activeMQ and goes unresponsive throwing the above message. We had to restart the server every time this problem occurs

Can someone please suggest what to do to avoid this problem and not restart all the time?

Thanks in advance.