Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 42513 invoked from network); 9 Jul 2007 14:13:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2007 14:13:22 -0000 Received: (qmail 3672 invoked by uid 500); 9 Jul 2007 14:13:22 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 3641 invoked by uid 500); 9 Jul 2007 14:13:22 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 3630 invoked by uid 99); 9 Jul 2007 14:13:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2007 07:13:22 -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 [69.147.102.65] (HELO smtp102.plus.mail.re1.yahoo.com) (69.147.102.65) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 09 Jul 2007 07:13:18 -0700 Received: (qmail 32649 invoked from network); 9 Jul 2007 14:12:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=Bg4sP7lVlW0qeuy9xVFWWEm/LJ4YZtgpyD1dELwGDowdFC/slXfVhPvzI1YCrHQuNP5W5FJMRBTSoHVWOplAxpividnHLFiL81FIopyZ3le60kfcT6BvZzAXFbmVY8HNtAWCxuqxYVhg7W2Zyv+wkdrUe0GxBr3gqN6knh32L18= ; Received: from unknown (HELO ?192.168.1.113?) (david_jencks@68.166.236.245 with plain) by smtp102.plus.mail.re1.yahoo.com with SMTP; 9 Jul 2007 14:12:55 -0000 X-YMail-OSG: sQQ3b8wVM1lorMZ0jcHVoUN5tvKY6BT49eyrLXiqUMP6HbdEzNb6UJMIZ3m_stJZXPWtRxo3OpIdumB5hs85ATd87O4J9dDfd6B3R7lLyXF84qxieA-- Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <11497165.post@talk.nabble.com> References: <11497165.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: David Jencks Subject: Re: Unable to resolve dependency Date: Mon, 9 Jul 2007 10:12:50 -0400 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org I am not familiar with the sample app you are working from.... let me check that I've guessed a couple things correctly... - you are using geronimo 2.0-M6 - you are deploying an ear that contains a war and a rar - the rar is providing the jms stuff the war needs In this case you should remove org.apache.geronimo.samples jms-resources 1.2 rar from geroniimo-web.xml since it is trying to refer to the rar that is packed in the same ear already. You can also remove org.apache.geronimo.configs activemq-broker car from geronimo-web.xml since that is already a dependency of the rar deployment. It is certainly not required, but I find it simpler to manage a single plan than many plans, one in each javaee module, so I would put the geronimo-web.xml into the geronimo-application.xml Hope this is relevant :-) david jencks On Jul 9, 2007, at 3:27 AM, Xiao-fei Song wrote: > > Hi, > > I just made an application by referencing the sample app at > http://cwiki.apache.org/GMOxDOC20/jms-and-mdb-sample- > application.html. After > I deploy the ear I got: > > Error: Unable to distribute TennisLeague.ear: Unable to create > configuration for deployment > > load of > org.apache.geronimo.samples/TennisLeague_TennisLeague-war.war/ > 2.0-M6/car > failed > > Error starting configuration gbean > org.apache.geronimo.samples/TennisLeague_TennisLeague-war.war/ > 2.0-M6/car > > Unable to resolve dependency > org.apache.geronimo.samples/jms-resources/1.2/rar > > And my geronimo-web.xml looks as below: > > xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"> > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"> > > org.apache.geronimo.samples.order > TennisLeagueWeb > 1.2 > car > > > > org.apache.geronimo.configs > activemq-broker > car > > > org.apache.geronimo.samples > jms-resources > 1.2 > rar > > > > > > > > And my geronimo-application.xml is: > > > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"> > > org.apache.geronimo.samples > TennisLeague > 2.0-M6 > ear > > > > > > > geronimo-activemq-ra-2.0-M6.rar > xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"> > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> > > org.apache.geronimo.samples dep:groupId> > jms-resources > 1.2 > rar > > > > > org.apache.geronimo.configs > activemq-broker dep:artifactId> > car > > > > > > > jms-resources > xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2"> > DefaultWorkManager nam:gbean-link> > > > > > > javax.jms.ConnectionFactory connectionfactory-interface> > > CommonConnectionFactory > > javax.jms.QueueConnectionFactory implemented-interface> > > javax.jms.TopicConnectionFactory implemented-interface> > > > > > > > > > > > > > > > javax.jms.Queue > > org.apache.activemq.command.ActiveMQQueue adminobject-class> > > > OrderQueue > name="PhysicalName">OrderQueue > > > > > javax.jms.Topic > > org.apache.activemq.command.ActiveMQTopic adminobject-class> > > > OrderTopic > name="PhysicalName">OrderTopic > > > > > > > > Can someone please let me know anything I need to do to get depedency > org.apache.geronimo.samples/jms-resources/1.2/rar resolved? > > Regards, > Chris > -- > View this message in context: http://www.nabble.com/Unable-to- > resolve-dependency-tf4047631s134.html#a11497165 > Sent from the Apache Geronimo - Users mailing list archive at > Nabble.com. >