geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Carew" <dcca...@gmail.com>
Subject Re: ResourceAdapter is not of type: org.activemq.ra.ActiveMQResourceAdapter
Date Tue, 12 Dec 2006 22:52:26 GMT
I copied your plan (jms.xml)  into Notepad++ and then saved it and it
deployed w/o any errors on WASCE 1.1.0.1 on Windows XP. Does your copy of
jms.xml file have any funky non-readable characters in it  ?


On 12/12/06, Mike Perham <mperham@gmail.com> wrote:
>
> Anyone?  We cannot support Geronimo in our app without this.
>
> On 12/5/06, Mike Perham <mperham@gmail.com> wrote:
> > I'm using WAS CE 1.1.0.1 and used the console to create a
> > Topic/Queue/ConnFactory, saved the plan and modified it slightly (to
> > use XA instead of local transactions).  The command I'm using to
> > deploy it:
> >
> > bin\deploy deploy jms.xml
> > repository\geronimo\ge-activemq-rar\1.1.1\ge-activemq-rar-1.1.1.rar
> >
> > The error:
> >
> > javax.resource.ResourceException: ResourceAdapter is not of type:
> > org.activemq.ra.ActiveMQResourceAdapter
> >         at org.activemq.ra.ActiveMQActivationSpec.setResourceAdapter(
> ActiveMQActivationSpec.java:215)
> >         at
> org.apache.geronimo.connector.ResourceAdapterWrapper.registerResourceAdapterAssociation
> (ResourceAdapterWrapper.java:75)
> >         at
> org.apache.geronimo.connector.ResourceAdapterWrapper$$FastClassByCGLIB$$4ab28e73.invoke
> (<generated>)
> >         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> >         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(
> FastMethodInvoker.java:38)
> >         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(
> GBeanOperation.java:122)
> >         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(
> GBeanInstance.java:817)
> >         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(
> RawInvoker.java:57)
> >         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(
> RawOperationInvoker.java:35)
> >         at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(
> ProxyMethodInterceptor.java:96)
> >         at
> org.apache.geronimo.connector.ResourceAdapterWrapper$$EnhancerByCGLIB$$daf4a2be.registerResourceAdapterAssociation
> (<generated>)
> >         at org.apache.geronimo.connector.ActivationSpecWrapper.activate(
> ActivationSpecWrapper.java:101)
> >         at
> org.apache.geronimo.connector.ActivationSpecWrapper$$FastClassByCGLIB$$aaa078c1.invoke
> (<generated>)
> >
> > The jms.xml plan:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1">
> >     <dep:environment
> > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
> >         <dep:moduleId>
> >             <dep:groupId>console.jms</dep:groupId>
> >             <dep:artifactId>fabric-jms</dep:artifactId>
> >             <dep:version>1.0</dep:version>
> >             <dep:type>rar</dep:type>
> >         </dep:moduleId>
> >         <dep:dependencies>
> >             <dep:dependency>
> >                 <dep:groupId>geronimo</dep:groupId>
> >                 <dep:artifactId>activemq-broker</dep:artifactId>
> >                 <dep:type>car</dep:type>
> >             </dep:dependency>
> >         </dep:dependencies>
> >     </dep:environment>
> >     <resourceadapter>
> >         <resourceadapter-instance>
> >             <resourceadapter-name>fabric-jms</resourceadapter-name>
> >             <config-property-setting
> > name="Clientid">fabric</config-property-setting>
> >             <nam:workmanager
> > xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1">
> >                 <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>fabric-prism-connfactory</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.activemq.message.ActiveMQQueue
> </adminobject-class>
> >         <adminobject-instance>
> >
> <message-destination-name>fabric-prism-requestqueue</message-destination-name>
> >             <config-property-setting
> > name="PhysicalName">PRISMRequestQueue</config-property-setting>
> >         </adminobject-instance>
> >     </adminobject>
> >     <adminobject>
> >         <adminobject-interface>javax.jms.Topic</adminobject-interface>
> >         <adminobject-class>org.activemq.message.ActiveMQTopic
> </adminobject-class>
> >         <adminobject-instance>
> >
> <message-destination-name>fabric-prism-eventtopic</message-destination-name>
> >             <config-property-setting
> > name="PhysicalName">PRISMEventTopic</config-property-setting>
> >         </adminobject-instance>
> >     </adminobject>
> > </connector>
> >
> > The MDB reference:
> >
> >     <message-driven>
> >       <ejb-name>PerformanceMDBean</ejb-name>
> >       <naming:resource-adapter>
> >         <naming:resource-link>fabric-jms</naming:resource-link>
> >       </naming:resource-adapter>
> >       <activation-config>
> >         <activation-config-property>
> >
> <activation-config-property-name>destination</activation-config-property-name>
> >
> <activation-config-property-value>fabric-prism-eventtopic</activation-config-property-value>
> >         </activation-config-property>
> >       </activation-config>
> >     </message-driven>
> >
> > Any idea what's wrong?
> >
> > mike
> >
>

Mime
View raw message