activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mkg <manoj....@monsanto.com>
Subject Re: running ActiveMQ in a load balanced tomcat
Date Tue, 25 Mar 2008 04:39:33 GMT

Thank you for the response.<br>
I got over the problem when I set false for JMX connection and stopped
providing connector URL.<br>

Now my messaging is working fine. 
<br>
Any idea what can be the impact of this?
<br>
-Manoj


ttmdev wrote:
> 
> You typically get a BindException when you try and bind to a port that has
> already been taken by another process or thread. So it looks like you have
> more than one embedded broker, in your load balanced cluster, trying to
> bind to the same port on the same machine. 
> 
> Joe
> Goto www.ttmsolutions.com for a free ActiveMQ user guide
> 
> It looks like your embedded broker is 
> 
> mkg wrote:
>> 
>> All,<br>
>> I am using ActiveMQ embodded in my web application which is deployed in a
>> tomcat. So far everything was working fine. Now we moved our war to a
>> load banced tomcat server and ActiveMQ setup started to fail. attaching
>> the exception. <br>
>> <br>
>> Can anybody guide me how can I do the configuration in a load balanced
>> tomcat server. We are starting the broker and creating the queue in the
>> code it self.
>> <br>
>> <br>
>> - Journal Recovery Started from: DataManager:(data-)
>> - Recovered 0 operations from redo log in 0.024 seconds.
>> - Finished recovering the ReferenceStore
>> java.io.IOException: Failed to bind to server socket:
>> tcp://w3t.abc.com:61616 due to: java.net.BindException: Cannot assign
>> requested address
>>         at
>> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)
>>         at
>> org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:108)
>>         at
>> org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:56)
>>         at
>> org.apache.activemq.transport.TransportFactory.bind(TransportFactory.java:106)
>>         at
>> org.apache.activemq.broker.BrokerService.createTransportConnector(BrokerService.java:1544)
>>         at
>> org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:187)
>>  
> 
> 

-- 
View this message in context: http://www.nabble.com/running-ActiveMQ-in-a-load-balanced-tomcat-tp16246865s2354p16268119.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message