You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Vishnu <bl...@yahoo.co.in> on 2016/12/13 12:04:59 UTC

ActiveMQ service is getting stopped if the SQL connectivity is lost

system is horizontally scaled with 2 TG nodes.

 It appears to be on Node 2 only, the ActiveMQ service is frequently stopped
by the system. 
We see some SQL connectivity issue in the logs, around the same time frame.
But we do not see ActiveMQ on node 1 is being affected. 
 Its the Node 2 ActiveMQ that is stopping.

Message data store is mapped to database.

2016-11-18 23:28:40,310 | WARN | Cannot create tables due to:
com.microsoft.sqlserver.jdbc.SQLServerException:
 2016-11-23 01:13:00,794 | WARN | Cannot create tables due to:
com.microsoft.sqlserver.jdbc.SQLServerException:

Finally Active MQ could not able manage the situation properly due that it
is losing the destinations map , to restablish the transport connectors with
destinations , Active MQ got initiated completely to shutdown.Below is the
error 

java.lang.NullPointerException
 at
org.apache.activemq.util.DefaultIOExceptionHandler$1$1.run(DefaultIOExceptionHandler.java:114)[activemq-broker-5.13.1.jar:5.13.1]

2016-11-23 01:13:01,205 | INFO | Stopping BrokerService[localhost] due to
exception, java.lang.NullPointerException |
org.apache.activemq.util.DefaultIOExceptionHandler | IOExceptionHandler:
restart transports
 java.lang.NullPointerException




--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-service-is-getting-stopped-if-the-SQL-connectivity-is-lost-tp4720248.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.