Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 92799 invoked from network); 9 Aug 2007 16:04:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Aug 2007 16:04:53 -0000 Received: (qmail 25580 invoked by uid 500); 9 Aug 2007 16:04:51 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 25541 invoked by uid 500); 9 Aug 2007 16:04:50 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 25480 invoked by uid 99); 9 Aug 2007 16:04:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 09:04:50 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2007 16:04:45 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IJAUq-0004pz-Mw for users@activemq.apache.org; Thu, 09 Aug 2007 09:04:24 -0700 Message-ID: <12075245.post@talk.nabble.com> Date: Thu, 9 Aug 2007 09:04:24 -0700 (PDT) From: denez To: users@activemq.apache.org Subject: Re: Problem using ActiveMQ In-Reply-To: <28c3c9290708090846l14da78a5s351f0a1956dc3866@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ibouddha@yahoo.fr References: <12055977.post@talk.nabble.com> <28c3c9290708081020m507794c6hc0c7f2e8af0f97a0@mail.gmail.com> <12067742.post@talk.nabble.com> <28c3c9290708090846l14da78a5s351f0a1956dc3866@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org the execution doesn't stop ! i place a breakpoint after created the session but never have nothing. I made some effort all the day to try working with ActiveMQ. But without any success for the moment. Have a very basic example that i could try ? Thanks in advance Mario. Regards, Denez Mario Siegenthaler-2 wrote: > > If there are no exception thrown (I think you changed the sample code > to actually do something with the catched exceptions) and the code is > actually executed then the message must've been sent. How do you check > for the message? > Does "the session never be created" imply that the execution just stops on > the > Session session = connection.createSession(false, > Session.AUTO_ACKNOWLEDGE) > line? > > Mario > > On 8/9/07, denez wrote: >> >> Hi Mario, >> >> First, thanks for your reply. >> I just try to run the so simple example that is in the website that i >> mentionned. >> After, if it's possible i will try to embedded the activeMQ to Tomcat. >> But for the moment, the session never be created but i have a connection. >> I can't understand what happend because there is no exception throw !! >> Could you help me again ? >> >> Thanks in advance, >> Regards, >> >> denez >> >> >> Mario Siegenthaler-2 wrote: >> > >> > I think you're supposed to call connection.start() as soon as you're >> > application thinks it fitting, connections don't come started (and I'd >> > hate it if they did). By documentation you can create session on >> > stopped connections you just won't receive any messages (not even sure >> > if you could send some messages, but I think you can). >> > Not sure if I understood you correctly.. >> > >> > Mario >> > >> > On 8/8/07, denez wrote: >> >> >> >> Hi all, >> >> >> >> i just try to user ActiveMQ under Tomcat 5.5 >> >> I follow instruction in the link below : >> >> http://activemq.apache.org/setting-up-activemq-with-tomcat-559.html >> >> http://activemq.apache.org/setting-up-activemq-with-tomcat-559.html >> >> but without any success for the moment i hope. >> >> When i debug i've got the connection but with parameter started=false >> ! >> >> So when i try to get a session nothing append. No error, no shutdown >> of >> >> tomcat. >> >> >> >> Can someone help me to deal with this problem. >> >> >> >> Thanks in advance. >> >> Regards, >> >> >> >> Denez >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Problem-using-ActiveMQ-tf4237284s2354.html#a12055977 >> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Problem-using-ActiveMQ-tf4237284s2354.html#a12067742 >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Problem-using-ActiveMQ-tf4237284s2354.html#a12075245 Sent from the ActiveMQ - User mailing list archive at Nabble.com.