Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 29589 invoked from network); 27 Apr 2006 13:42:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2006 13:42:16 -0000 Received: (qmail 68168 invoked by uid 500); 27 Apr 2006 13:41:49 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 68137 invoked by uid 500); 27 Apr 2006 13:41: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 68128 invoked by uid 99); 27 Apr 2006 13:41:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 06:41:48 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of chirino@gmail.com designates 64.233.162.194 as permitted sender) Received: from [64.233.162.194] (HELO nz-out-0102.google.com) (64.233.162.194) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 06:41:46 -0700 Received: by nz-out-0102.google.com with SMTP id 4so1600603nzn for ; Thu, 27 Apr 2006 06:41:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DCahDYVBNmoC/qHBg787fqzPtB8vBKhbftC32FUv1Kwt8t2f3yHb5nLEKuyn0lwKgX/7ijd3UEbnXAj1HA4EgA4txm6QsRaHDLYZpw3h3REYrR4Ri2AElLXA2wVXp9RwlSPg/rZsndyqelrSL3wAMJ1NlbIlcJI6T0YHHkByMoU= Received: by 10.65.44.15 with SMTP id w15mr1428424qbj; Thu, 27 Apr 2006 06:41:23 -0700 (PDT) Received: by 10.65.230.12 with HTTP; Thu, 27 Apr 2006 06:41:23 -0700 (PDT) Message-ID: Date: Thu, 27 Apr 2006 09:41:23 -0400 From: "Hiram Chirino" Sender: chirino@gmail.com To: activemq-users@geronimo.apache.org Subject: Re: create connnection hanging In-Reply-To: <4118708.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4118708.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Do you have the firewall enabled? On 4/27/06, necrosus wrote: > > Not sure i am missing something simple. > > I am running activemq on linux (Centos 4.3).. (tried java 1.4 and 5) > Basically i just started up the default configuration of activemq (using > /bin/activemq). It starts fine. > > Then i wanted to run a simple java program to connect to activemq so star= t > playing with queues and messages and the like. > > using the code: > ActiveMQConnectionFactory mqFactory =3D new > ActiveMQConnectionFactory("tcp://localhost:61616"); > Connection connection =3D mqFactory.createConnection(); > Session session connection.createSession(true, Session.AUTO_ACKNOWLEDGE); > etc > > Anything after createConnection doesnt get excuted and the client hangs. = On > activemq tI can see the connection being created. > DEBUG TcpTransport - TCP consumer thread starting > > But then nothing happens until i stop the client running and it gives the > EOF exception. > > Am i missing something obvious? I dont understand what is going on exactl= y. > It just seesm i cant get beyond createConnection > -- > View this message in context: http://www.nabble.com/create-connnection-ha= nging-t1517490.html#a4118708 > Sent from the ActiveMQ - User forum at Nabble.com. > > -- Regards, Hiram