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. >