Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 14643 invoked from network); 21 Nov 2006 22:46:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2006 22:46:59 -0000 Received: (qmail 79757 invoked by uid 500); 21 Nov 2006 22:47:08 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 79739 invoked by uid 500); 21 Nov 2006 22:47:08 -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 79730 invoked by uid 99); 21 Nov 2006 22:47:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2006 14:47:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of chirino@gmail.com designates 66.249.92.172 as permitted sender) Received: from [66.249.92.172] (HELO ug-out-1314.google.com) (66.249.92.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2006 14:46:55 -0800 Received: by ug-out-1314.google.com with SMTP id m2so45729ugc for ; Tue, 21 Nov 2006 14:46:33 -0800 (PST) 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:x-google-sender-auth; b=ZBTjfVEpT327faJXVOhiISb5gw3uejcP4dyb+TPEUkKvJu2lRrxeZdLcx/Pqjfn9mnp58z+P8d5aoSSX6vLbxV485RNsWzTCPPGjAl8UPcGSs9E/7ACoNsEk9bnci6OuYd6kN/b3nPB65yWQk5kQzS4pdXdG8JKFGg3mdkNB2nk= Received: by 10.78.204.7 with SMTP id b7mr7080211hug.1164149192985; Tue, 21 Nov 2006 14:46:32 -0800 (PST) Received: by 10.78.142.5 with HTTP; Tue, 21 Nov 2006 14:46:32 -0800 (PST) Message-ID: Date: Tue, 21 Nov 2006 17:46:32 -0500 From: "Hiram Chirino" Sender: chirino@gmail.com To: activemq-users@geronimo.apache.org Subject: Re: Starting JMS broker with J2EE server In-Reply-To: <7447378.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7445138.post@talk.nabble.com> <7446450.post@talk.nabble.com> <7447378.post@talk.nabble.com> X-Google-Sender-Auth: 08cf4b73bd0eec15 X-Virus-Checked: Checked by ClamAV on apache.org On 11/20/06, Anulok wrote: > > Okay, so let's say I want to run the broker as a separate process by running > the 'activemq' script, does this imply I don't need to worry about uploading > the rar file to my app server? Even if I decide to take your advice and run yes.. it contains the client code that knows how to access the remote broker. > the broker as a sepearte process will my app server still use it instead of > the one that comes packaged with it? If anything though, can you answer my yep. > question regarding the steps I took with the rar file and the property I > added to point to the activemq.xml file, did I do that correctly? Am I even > suppose to see the jms broker start up after restarting the domain? > If logging is properly enabled and the url is correct, I would assume so. Also make sure you try to at least a connection from the resource adapter, the container might lazy load the resource adapter and cause delayed initialization. > > James.Strachan wrote: > > > > To start a broker try running the 'activemq' shell script which is > > described at the top of the page I just referenced... > > > > http://incubator.apache.org/activemq/run-broker.html > > > > (asuming you want the broker as a separate process to your application > > server). > > > > No need to specify any arguments - it will use the default configuration > > > > On 11/20/06, Anulok wrote: > >> > >> Okay, I've read over the page you gave me, when I run "start-domain > >> domain1" > >> I still don't see anything related to the message broker beings started, > >> this is what I did.......In the connector connection pool for the > >> activemq-ra-4 resource adapter I went ahead and added an additional > >> property > >> called "BrokerXmlConfig" and I gave it the value "file:C:\Program > >> Files\Java\incubator-activemq-4.0.1\example\conf\activemq.xml" where > >> everything you see in quotes is exactly what I put in the text field, > >> perhaps my syntax is wrong? Also note that I didn't actually use quotes > >> in > >> the text field I'm only using them in this message to display exactly > >> what I > >> typed in the textfield. I figured I'd point it to the same xml file that > >> the > >> example programs use because I've run them and know that works. Any > >> insight > >> into what I'm doing wrong is appreciated. > >> > >> > >> James.Strachan wrote: > >> > > >> > On 11/20/06, Anulok wrote: > >> >> > >> >> I have gone through the steps of configuring the Sun application > >> server > >> >> to > >> >> use the rar file provided with activemq. I have gone through and set > >> up > >> >> the > >> >> connector resources, connect connection pools, and admin object > >> >> resources, > >> >> however, after finishing this how does the JMS broker actually start > >> up? > >> >> I > >> >> figured I needed to stop the domain "domain1" and then start it up > >> again, > >> >> but when I did that I didn't see in the asadmin output any indication > >> >> that > >> >> any broker had started and was listening on any port. What step am I > >> >> missing > >> >> here? (I'm not using the "brokerxmlconfig" property, as it said it > >> wasn't > >> >> required.) > >> > > >> > See > >> > http://incubator.apache.org/activemq/run-broker.html > >> > -- > >> > > >> > James > >> > ------- > >> > http://radio.weblogs.com/0112098/ > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Starting-JMS-broker-with-J2EE-server-tf2669943.html#a7446450 > >> 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/Starting-JMS-broker-with-J2EE-server-tf2669943.html#a7447378 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- Regards, Hiram Blog: http://hiramchirino.com