activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From quak <hari_bits2...@hotmail.com>
Subject Re: Running two queues on same machine
Date Thu, 09 Nov 2006 17:52:13 GMT

Hi James

Thanks for the reply

I did the same thing. I changed to a lower port in activemq.xml and broker
url in java application. But still it is throwing an exception that port is
out of range. Is there any thing to do with platform specific config?

Thanks


James.Strachan wrote:
> 
> Just change the port numbers to connect to to a lower value in your
> activemq.xml and then on the brokerURL on your
> ActiveMQConnectionFactory
> 
> On 11/9/06, quak <hari_bits2003@hotmail.com> wrote:
>>
>> Hi
>>
>> I have two java applications, each of them recieves message from two
>> different queues. This is working fine on windows machine. But when I
>> tried
>> to run two queues on linux machine (one with port 61616 and other with
>> 61615) the java application is throwing an exception
>>
>>  javax.jms.JMSException: Could not connect to broker URL:
>> tcp:/159.14.43.232:61615. Reason: java.lang.IllegalArgumentException:
>> port
>> out of range:-1
>> surprisingly though I'm using a lower port it is complaining that port is
>> out of range. Can any one help me out.
>>
>> Thanks in advance
>> --
>> View this message in context:
>> http://www.nabble.com/Running-two-queues-on-same-machine-tf2603042.html#a7262562
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: http://www.nabble.com/Running-two-queues-on-same-machine-tf2603042.html#a7262919
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message