geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiao-fei Song <xfsong_ch...@yahoo.com>
Subject Unable to resolve dependency
Date Mon, 09 Jul 2007 07:27:31 GMT

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:

<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"
xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1">
  <dep:environment
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
    <dep:moduleId>
      <dep:groupId>org.apache.geronimo.samples.order</dep:groupId>
      <dep:artifactId>TennisLeagueWeb</dep:artifactId>
      <dep:version>1.2</dep:version>
      <dep:type>car</dep:type>
    </dep:moduleId>
    <dep:dependencies>
	<dep:dependency>
	   <dep:groupId>org.apache.geronimo.configs</dep:groupId>
	   <dep:artifactId>activemq-broker</dep:artifactId>
	   <dep:type>car</dep:type>
    </dep:dependency>
	<dep:dependency>
       <dep:groupId>org.apache.geronimo.samples</dep:groupId>
       <dep:artifactId>jms-resources</dep:artifactId>
       <dep:version>1.2</dep:version>
       <dep:type>rar</dep:type>
    </dep:dependency>
	</dep:dependencies>
    <dep:hidden-classes/>
    <dep:non-overridable-classes/>
  </dep:environment>
</web-app>

And my geronimo-application.xml is:

<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1">
  <dep:environment
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
    <dep:moduleId>
      <dep:groupId>org.apache.geronimo.samples</dep:groupId>
      <dep:artifactId>TennisLeague</dep:artifactId>
      <dep:version>2.0-M6</dep:version>
      <dep:type>ear</dep:type>
    </dep:moduleId>
    <dep:dependencies/>
    <dep:hidden-classes/>
    <dep:non-overridable-classes/>
  </dep:environment>
 <module>
       <connector>geronimo-activemq-ra-2.0-M6.rar</connector>
        <connector
xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
            <dep:environment
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
                <dep:moduleId>
                    <dep:groupId>org.apache.geronimo.samples</dep:groupId>
                    <dep:artifactId>jms-resources</dep:artifactId>
                    <dep:version>1.2</dep:version>
                    <dep:type>rar</dep:type>
                </dep:moduleId>
                <dep:dependencies>
                    <dep:dependency>
                       
<dep:groupId>org.apache.geronimo.configs</dep:groupId>
                        <dep:artifactId>activemq-broker</dep:artifactId>
                        <dep:type>car</dep:type>
                    </dep:dependency>
                </dep:dependencies>
            </dep:environment>
            <resourceadapter>
                <resourceadapter-instance>
                   
<resourceadapter-name>jms-resources</resourceadapter-name>
                    <nam:workmanager
xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
                        <nam:gbean-link>DefaultWorkManager</nam:gbean-link>
                    </nam:workmanager>
                </resourceadapter-instance>
                <outbound-resourceadapter>
                    <connection-definition>
                       
<connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
                        <connectiondefinition-instance>
                            <name>CommonConnectionFactory</name>
                           
<implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
                           
<implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
                            <connectionmanager>
                                <xa-transaction>
                                    <transaction-caching/>
                                </xa-transaction>
                                <single-pool>
                                    <match-one/>
                                </single-pool>
                            </connectionmanager>
                        </connectiondefinition-instance>
                    </connection-definition>
                </outbound-resourceadapter>
            </resourceadapter>
            <adminobject>
               
<adminobject-interface>javax.jms.Queue</adminobject-interface>
               
<adminobject-class>org.apache.activemq.command.ActiveMQQueue</adminobject-class>
                <adminobject-instance>
                   
<message-destination-name>OrderQueue</message-destination-name>
                    <config-property-setting
name="PhysicalName">OrderQueue</config-property-setting>
                </adminobject-instance>
            </adminobject>
            <adminobject>
               
<adminobject-interface>javax.jms.Topic</adminobject-interface>
               
<adminobject-class>org.apache.activemq.command.ActiveMQTopic</adminobject-class>
                <adminobject-instance>
                   
<message-destination-name>OrderTopic</message-destination-name>
                    <config-property-setting
name="PhysicalName">OrderTopic</config-property-setting>
                </adminobject-instance>
            </adminobject>
        </connector>    
    </module>
</application>


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.


Mime
View raw message