I am using Tomcat 5.5 server and Apache-Activemq-5.1.0 to send messages
between 2 applications. I have a QueueConsumer implemented which monitors
the ActiveMQ and onMessageAvailable() sends the message to the backend
application.
I had started ActiveMQ some 2 days back and it was working fine. Suddenly it
stopped sending messsages to the backend. On restarting ActiveMQ and Tomcat
again, problem was resolved.

Can anyone please tell me if it has happened due to some caching issue or
something ? does ActiveMQ has some space constraints.. All messages were
getting successfully delivered to the backend and suddenly it stopped.

Also, I keep getting these messages (along with the error) in ActiveMQ log: 

INFO  TransportConnector             - Connector vm://localhost Started
INFO  TransportConnector             - Connector vm://localhost Stopped
WARN  DiscoveryNetworkConnector      - Could not start network bridge
between: vm://localhost and: tcp://localhost:62001 due to:
java.net.ConnectException: Connection refused
ERROR TransportConnector             - Could not accept connection :
java.lang.Object incompatible with org.apache.activemq.command.Command
INFO  DemandForwardingBridge         - localhost bridge to Unknown stopped
INFO  DiscoveryNetworkConnector      - Establishing network connection
between from vm://localhost to tcp://localhost:62001

The ActiveMQ conf file has the following network connectors and transport
connector setting. 

<networkConnectors>
            <networkConnector name="host1 and host2"
uri="static://(tcp://host1:61616,tcp://host2:61616)"/>
</networkConnectors>

<transportConnectors>
        <transportConnector uri="tcp://localhost:61616"/>
        <transportConnector name="ssl" uri="ssl://localhost:61617"/>
        <transportConnector name="stomp" uri="stomp://localhost:61613"/>
        <transportConnector name="xmpp" uri="xmpp://localhost:61222"/>
</transportConnectors>

Rest of the configuration is default for ActiveMQ.

Please Help
-- 
View this message in context: 
http://www.nabble.com/ActiveMQ-stopped-sending-messages.-tp20730936p20730936.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to