activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Running two queues on same machine
Date Thu, 09 Nov 2006 17:39:32 GMT
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/

Mime
View raw message