ActiveMqBroker process got restarted automatically on the server couple
I have a server pair which are in Resiliency and we use JMS to pass on the messages from one server to other, so that both are in synch all the time.

We have ActiveMq as Broker to do the inter server communication and we have a process on the server. 

Sometime yesterday the activemqbroker was restarted automatically, rest of the processes where up and running. The activemqbroker process status showed it as up and running after that halt-restart of the process, but actually it was not stopped and restarted correctly. 

There was the following error and subsequently server was stopped.

**"ERROR TransportConnector - Could not accept connection : Unrecognized SSL message, plaintext connection?"**

But still the there was the stop was not successfull and following was the error message 

**ERROR: java.lang.RuntimeException: Failed to execute stop task. Reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused]
java.lang.RuntimeException: Failed to execute stop task. Reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused]**
**...........
..........
ActiveMQBrokerWrapper.sh - NOTE: activemqbroker service has stopped.
[Method "stop" exited with status 0 ]**


Then start process was initiated and there also it was failed with following error
**ERROR log  - EXCEPTION java.lang.NumberFormatException: uf**

**....
.....
ERROR TransportConnector             - Could not accept connection : no cipher suites in common
ERROR TransportConnector             - Could not accept connection : Unrecognized SSL message, plaintext connection?
ERROR TransportConnector             - Could not accept connection : java.net.SocketException: Connection reset
ERROR TransportConnector             - Could not accept connection : java.net.SocketException: Connection reset**


Can anybody help me to understand this error/root cause. Thanks in advance. :)
ActiveMqBroker process got restarted automatically on the server couple
===

I have a server pair which are in Resiliency and we use JMS to pass on the messages from one server to other, so that both are in synch all the time.

We have ActiveMq as Broker to do the inter server communication and we have a process on the server. 

Sometime yesterday the activemqbroker was restarted automatically, rest of the processes where up and running. The activemqbroker process status showed it as up and running after that halt-restart of the process, but actually it was not stopped and restarted correctly. 

There was the following error and subsequently server was stopped.

**"ERROR TransportConnector - Could not accept connection : Unrecognized SSL message, plaintext connection?"**

But still the there was the stop was not successfull and following was the error message 

**ERROR: java.lang.RuntimeException: Failed to execute stop task. Reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused]
java.lang.RuntimeException: Failed to execute stop task. Reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
	java.net.ConnectException: Connection refused]**
**...........
..........
ActiveMQBrokerWrapper.sh - NOTE: activemqbroker service has stopped.
[Method "stop" exited with status 0 ]**


Then start process was initiated and there also it was failed with following error
**ERROR log  - EXCEPTION java.lang.NumberFormatException: uf**

**....
.....
ERROR TransportConnector             - Could not accept connection : no cipher suites in common
ERROR TransportConnector             - Could not accept connection : Unrecognized SSL message, plaintext connection?
ERROR TransportConnector             - Could not accept connection : java.net.SocketException: Connection reset
ERROR TransportConnector             - Could not accept connection : java.net.SocketException: Connection reset**


Can anybody help me to understand this error/root cause. Thanks in advance. :)