activemq-gbean module:     @version $Revision: 1.1.1.1;
                           SVN downloaded time: 2006-05-19
Geronimo server:  geronimo-tomcat-j2ee-1.0.zip

The below is rough plan.xml which refer to ActiveMQ 3.2 gbean's because I
can't found the corresponding one.

<?xml version="1.0" encoding="UTF-8"?>
<configuration configId="geronimo/JmsBroker/ActiveMQ-4.0-RC"
domain="geronimo.maven"
    xmlns="http://geronimo.apache.org/xml/ns/deployment-1.0";>    
        <import>
          <groupId>geronimo</groupId>
          <type>car</type>
          <artifactId>system-database</artifactId>
          <version>1.0</version>
        </import>         
        <include>
        <groupId>backport-util-concurrent</groupId>
        <artifactId>backport-util-concurrent</artifactId>
        <version>2.1</version>
        </include>                
        <include>
        <groupId>incubator-activemq</groupId>
        <artifactId>activemq-ra</artifactId>
        <version>4.0-RC2</version>
        </include>        
        <include>
        <groupId>incubator-activemq</groupId>
        <artifactId>activeio-core</artifactId>
        <version>3.0-beta1</version>
        </include>      
        <include>
        <groupId>activeio</groupId>
        <artifactId>activeio</artifactId>
        <version>2.1</version>
        </include>      

        <dependency>
          <groupId>incubator-activemq</groupId>
          <artifactId>activemq-core</artifactId>
          <version>4.0-RC2</version>              
        </dependency>   
        <dependency>
        <groupId>activemq</groupId> 
        <artifactId>activemq-gbean</artifactId>
        <version>4.0-SNAPSHOT</version>      
        </dependency>           
        <dependency>
        <groupId>activemq</groupId> 
        <artifactId>activemq-gbean-management</artifactId>
        <version>4.0-SNAPSHOT</version>      
        </dependency>   

    <!-- management -->
    <gbean name="ActiveMQIV"
class="org.apache.activemq.gbean.management.ActiveMQManagerGBean" />

    <!-- message broker -->
    <gbean name="ActiveMQIV"
class="org.apache.activemq.gbean.BrokerServiceGBeanImpl">
        <attribute name="brokerName">ActiveMQIV</attribute>        
   </gbean>

    <gbean
gbeanName="geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/ActiveMQServer,J2EEServer=geronimo,j2eeType=JMSConnector,broker=ActiveMQIV,name=ActiveMQIV.tcp.default"
class="org.apache.activemq.gbean.TransportConnectorGBeanImpl">
        <attribute name="protocol">tcp</attribute>
        <attribute name="host">localhost</attribute>
        <attribute name="port">61616</attribute>
        <reference
name="brokerService"><gbean-name>geronimo.server:j2eeType=JMSServer,name=ActiveMQIV,*</gbean-name></reference>
    </gbean>

    <gbean
gbeanName="geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/ActiveMQServer,J2EEServer=geronimo,j2eeType=JMSConnector,broker=ActiveMQIV,name=ActiveMQIV.vm.localhost"
class="org.apache.activemq.gbean.TransportConnectorGBeanImpl">
        <attribute name="protocol">vm</attribute>
        <attribute name="host">localhost</attribute>
        <attribute name="port">-1</attribute>
        <reference
name="brokerService"><gbean-name>geronimo.server:j2eeType=JMSServer,name=ActiveMQIV,*</gbean-name></reference>
    </gbean>

</configuration>
--
View this message in context: 
http://www.nabble.com/activemq+gbean+deployment+with+java.lang.NoSuchMethodError-t1679385.html#a4569219
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to