Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 21192 invoked from network); 10 Apr 2007 13:26:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Apr 2007 13:26:09 -0000 Received: (qmail 14322 invoked by uid 500); 10 Apr 2007 13:26:14 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 13868 invoked by uid 500); 10 Apr 2007 13:26:13 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 13857 invoked by uid 99); 10 Apr 2007 13:26:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 06:26:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [68.142.201.184] (HELO web31704.mail.mud.yahoo.com) (68.142.201.184) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 10 Apr 2007 06:26:06 -0700 Received: (qmail 57971 invoked by uid 60001); 10 Apr 2007 13:25:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=GezAvYpWESQchO5VbbMq1y4kmTItqRvRoumAh136F/8jyUNZqYerC8AnFOP6GaY1ifAQzX2F9lBHxlTc3W42WImO/8ZHZTKxBjDSGigiFD3edl/qhua7HUIW3W2F1Xzh+CpHjJpxUUhi9PuPbHyPWqHK5FCVFJ5TyE9I7rq1zWQ=; X-YMail-OSG: oAEupEwVM1mQXraQNQKS.dvqqnb44xmBSDUk2ASZCr2oflaZ1oiaJW7Q1Lk8zpPFU3S9nyBmR0x3dUZ4Z.WpxlYIRFCbHq__omfv8tE9Nvs.BZbm2_jVeJyTzmJWOlzm4DNoV4raIz3uVRkJrFAjZ49Hd3XW78PP_5HO94rSy4cBqIEf Received: from [24.211.208.98] by web31704.mail.mud.yahoo.com via HTTP; Tue, 10 Apr 2007 06:25:45 PDT Date: Tue, 10 Apr 2007 06:25:45 -0700 (PDT) From: Anita Kulshreshtha Subject: Re: activemq-broker To: dev@geronimo.apache.org In-Reply-To: <64852548-E459-4AB5-8F00-1EB5AB6D0192@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <308454.57638.qm@web31704.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks David! I could not find a ServerUrl attribute in ResourceAdapterWrapper gbean. Do we need to add one? If yes, how? Thanks Anita --- David Jencks wrote: > This gets turned into a gbean attribute called ServerUrl on the > ResourceAdapterWrapper gbean so it should be possible to override it > > that way in config.xml. > > thanks > david jencks > > On Apr 9, 2007, at 7:48 PM, Anita Kulshreshtha wrote: > > > Kevan, > > The plan for activemq-ra config is using 61616: > > > > > > ActiveMQ > RA > > > name="ServerUrl">tcp://${PlanServerHostname}:${PlanActiveMQPort} > config-property-setting> > > ............................ > > > > > > Any idea how to make this configurable? > > > > Thanks > > Anita > > > > --- Kevan Miller wrote: > > > >> > >> On Mar 22, 2007, at 10:39 AM, Anita Kulshreshtha wrote: > >> > >>> I get following exception while starting an instance of g > using > >> > >>> port > >>> 61626 instead of 61616. Where is 61616 coming from? > >> > >> Hi Anita, > >> 61616 is the ActiveMQ's default port. So, we're establishing this > >> internal connection to ActiveMQ without specifying a port number > (and > >> > >> activemq is defaulting). Or, we're using the wrong port number. > >> > >> How are you configuring this? > >> > >> --kevan > >> > >>> > >>> Thanks > >>> Anita > >>> > >>> Starting Geronimo Application Server v2.0-SNAPSHOT > >>> [*********> ] 34% 18s Starting > >>> org.apache.geronim...10:27:08,953 ERROR [ > >>> MCFConnectionInterceptor] Error occurred creating > ManagedConnection > >> > >>> for > >>> org.apache.geronim > >>> o.connector.outbound.ConnectionInfo@1a6ac3e > >>> javax.resource.ResourceException: Could not create connection. > >>> at > >>> > >> > > > org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedC > >> > >>> onnection > >>> (ActiveMQManagedConnectionFactory.java:112) > >>> at > >>> > >> > > > org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getCon > >> > >>> nection(M > >>> CFConnectionInterceptor.java:48) > >>> at > >>> > >> > > > org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor. > >> > >>> getConnec > >>> tion(XAResourceInsertionInterceptor.java:41) > >>> at > >>> > >> > > > org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor > >> > >>> .internal > >>> GetConnection(SinglePoolConnectionInterceptor.java:66) > >>> at > >>> > >> > > > org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInt > >> > >>> erceptor. > >>> getConnection(AbstractSinglePoolConnectionInterceptor.java:78) > >>> at > >>> > >> > > > org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor > >> > >>> .getConne > >>> ction(TransactionEnlistingInterceptor.java:46) > >>> at > >>> > >> > > > org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.g > >> > >>> etConnect > >>> ion(TransactionCachingInterceptor.java:95) > >>> at > >>> > >> > org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection > >>> (TCCLInterc > >>> eptor.java:39) > >>> at > >>> > >> > > > org.apache.geronimo.connector.outbound.AbstractConnectionManager.getRe > >> > >>> coveryXAR > >>> esource(AbstractConnectionManager.java:98) > >>> at > >>> org.apache.geronimo.connector.outbound.AbstractConnectionManager$ > >>> $FastClassByCG > >>> LIB$$80012030.invoke() > >>> at > >> net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > >>> ....................................................... > >>> ...................................................... > >>> > >>> at > >>> org.apache.geronimo.system.main.Daemon.(Daemon.java:74) > >>> at > org.apache.geronimo.system.main.Daemon.main(Daemon.java: > >> > >>> 342) > >>> Caused by: javax.jms.JMSException: Could not connect to broker > URL: > >>> tcp://0.0.0.0:61616. R > >>> eason: java.net.ConnectException: Connection refused: connect > >>> at > >>> org.apache.activemq.util.JMSExceptionSupport.create > >>> (JMSExceptionSupport.java:33 > >>> > >>> > >>> > >>> > >>> > >> > > > ______________________________________________________________________ > >> > >>> ______________ > >>> The fish are biting. > >>> Get more visitors on your site using Yahoo! Search Marketing. > >>> http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php > >> > >> > > > > > > > > > > > ______________________________________________________________________ > > > ______________ > > Expecting? Get great news right away with email Auto-Check. > > Try the Yahoo! Mail Beta. > > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html > > ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265