Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 50777 invoked from network); 9 Nov 2006 17:52:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2006 17:52:38 -0000 Received: (qmail 30765 invoked by uid 500); 9 Nov 2006 17:52:48 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 30749 invoked by uid 500); 9 Nov 2006 17:52:48 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 30740 invoked by uid 99); 9 Nov 2006 17:52:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:52:48 -0800 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=FORGED_HOTMAIL_RCVD2,FROM_HAS_ULINE_NUMS,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:52:34 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GiE4T-0006dO-JW for activemq-users@geronimo.apache.org; Thu, 09 Nov 2006 09:52:13 -0800 Message-ID: <7262919.post@talk.nabble.com> Date: Thu, 9 Nov 2006 09:52:13 -0800 (PST) From: quak To: activemq-users@geronimo.apache.org Subject: Re: Running two queues on same machine In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: hari_bits2003@hotmail.com References: <7262562.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 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 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.