You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by James Adams <ja...@yahoo.com> on 2007/01/22 08:49:39 UTC

Re: ActiveMQResourceAdapter

I'm also in search of this class.  I am using ActiveMQ version 4.1.0, and I
don't see it anywhere in the JAR file Maven pulled down for this dependency.

Is there another dependency I should add to my pom.xml in order to get the
right JAR which contains this class?

Thanks in advance...


--James
 


Sufyan Arif wrote:
> 
> Hi,
> 
>  
> 
> I am trying to find a class called
> 
>  
> 
> org.apache.activemq.ra.ActiveMQResourceAdapter
> 
>  
> 
> I need to use this file when setting up Jencks container. I am using
> incubator-activemq-4.0.1 and have looked in activemq-core-4.0.1.jar but
> the ActiveMQResourceAdapter does not exist in it.
> 
>  
> 
> Could someone tell me where I can find ActiveMQResourceAdapter?
> 
>  
> 
> thanks
> 
>  
> 
> Sufyan
> 
> 
> This transmission is confidential and intended solely for the person or
> organisation to whom it is addressed. It may contain privileged and
> confidential information. If you are not the intended recipient, you
> should not copy, distribute or take any action in reliance on it. If you
> have received this transmission in error, please notify the sender
> immediately. Any opinions or advice contained in this e-mail are those of
> the individual sender except where they are stated to be the views of RDF
> Group plc. All messages passing through this gateway are virus scanned.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ActiveMQResourceAdapter-tf1960773.html#a8484825
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: ActiveMQResourceAdapter

Posted by James Adams <ja...@yahoo.com>.


James Adams wrote:
> 
> 
> James.Strachan wrote:
>> 
>> On 1/22/07, James Adams <ja...@yahoo.com> wrote:
>>>
>>>
>>> Christopher G. Stach II wrote:
>>> >
>>> > James Adams wrote:
>>> >> I'm also in search of this class.  I am using ActiveMQ version 4.1.0,
>>> and
>>> >> I
>>> >> don't see it anywhere in the JAR file Maven pulled down for this
>>> >> dependency.
>>> >>
>>> >> Is there another dependency I should add to my pom.xml in order to
>>> get
>>> >> the
>>> >> right JAR which contains this class?
>>> >>
>>> >
>>> >
>>> > The JAR is packed in the RAR in lib/optional.  You have to extract it.
>>> > Annoying, huh?
>>> >
>>> >
>>> >
>>>
>>>
>>> I've actually added the following dependency to my pom.xml and it seems
>>> to
>>> have gotten me over the hump.
>>>
>>>         <dependency>
>>>             <groupId>activemq</groupId>
>>>             <artifactId>activemq-ra</artifactId>
>>>             <version>4.0.2</version>
>>>         </dependency>
>> 
>> Here's the 4.1.0 from a maven repo...
>> 
>> http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-ra/4.1.0-incubator/
>> 
>> 
> 
> Thanks for the help.
> 
> Based on the above I added the following to my Maven2 settings.xml:
> 
>                 <repository>
>                     <id>activemq</id>
>                    
> <url>http://people.apache.org/repo/m2-incubating-repository/</url>
>                 </repository>
> 
> I also modified the ActiveMQ-RA dependency in my pom.xml to the following:
> 
>         <dependency>
>             <groupId>org.apache.activemq</groupId>
>             <artifactId>activemq-ra</artifactId>
>             <version>4.1.0-incubator</version>
>         </dependency>
> 
> Once I did this I got around the problem of not finding the
> ActiveMQResourceAdapter class.  However other bad voodoo ensued, i.e.
> there is some sort of transitive dependency problem (resulting in two
> separate geronimo-connector JARs) which makes Jencks act up, perhaps
> caused by a renamed groupId somewhere.  This is addressed in the Jencks
> user group here
> http://www.nabble.com/Outbound-JMS%3A--NoSuchMethodError%3A-Geronimo%27s-GenericConnectionManager.%3Cinit%3E-tf3060055.html#a8510668
> 
> So for now I've gone back to using the ActiveMQ-RA 4.0.2-SNAPSHOT, since
> I've been unable to figure out how to configure the correct dependency
> exclusion to get around this problem. 
> 
> 
> --James
> 


The issue turned out to have nothing to do with the 4.1.0 ActiveMQ-RA
dependency, it was instead related to my Lingo 1.3 dependency, which needed
a couple of exclusions (geronimo-connector and geronimo-transaction).  I now
find ActiveMQResourceAdapter fine, and the aforementioned NoSuchMethodErrors
are gone as well.  Now I have trouble with ActiveMQ/TranQL interaction (a
ClassCastException), but I'll post about that in another thread.

Thanks again for the attention and help with this issue.


--James
-- 
View this message in context: http://www.nabble.com/ActiveMQResourceAdapter-tf1960773.html#a8514468
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: ActiveMQResourceAdapter

Posted by James Adams <ja...@yahoo.com>.

James.Strachan wrote:
> 
> On 1/22/07, James Adams <ja...@yahoo.com> wrote:
>>
>>
>> Christopher G. Stach II wrote:
>> >
>> > James Adams wrote:
>> >> I'm also in search of this class.  I am using ActiveMQ version 4.1.0,
>> and
>> >> I
>> >> don't see it anywhere in the JAR file Maven pulled down for this
>> >> dependency.
>> >>
>> >> Is there another dependency I should add to my pom.xml in order to get
>> >> the
>> >> right JAR which contains this class?
>> >>
>> >
>> >
>> > The JAR is packed in the RAR in lib/optional.  You have to extract it.
>> > Annoying, huh?
>> >
>> >
>> >
>>
>>
>> I've actually added the following dependency to my pom.xml and it seems
>> to
>> have gotten me over the hump.
>>
>>         <dependency>
>>             <groupId>activemq</groupId>
>>             <artifactId>activemq-ra</artifactId>
>>             <version>4.0.2</version>
>>         </dependency>
> 
> Here's the 4.1.0 from a maven repo...
> 
> http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-ra/4.1.0-incubator/
> 
> 

Thanks for the help.

Based on the above I added the following to my Maven2 settings.xml:

                <repository>
                    <id>activemq</id>
                   
<url>http://people.apache.org/repo/m2-incubating-repository/</url>
                </repository>

I also modified the ActiveMQ-RA dependency in my pom.xml to the following:

        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activemq-ra</artifactId>
            <version>4.1.0-incubator</version>
        </dependency>

Once I did this I got around the problem of not finding the
ActiveMQResourceAdapter class.  However other bad voodoo ensued, i.e. there
is some sort of transitive dependency problem (resulting in two separate
geronimo-connector JARs) which makes Jencks act up, perhaps caused by a
renamed groupId somewhere.  This is addressed in the Jencks user group here
http://www.nabble.com/Outbound-JMS%3A--NoSuchMethodError%3A-Geronimo%27s-GenericConnectionManager.%3Cinit%3E-tf3060055.html#a8510668

So for now I've gone back to using the ActiveMQ-RA 4.0.2-SNAPSHOT, since
I've been unable to figure out how to configure the correct dependency
exclusion to get around this problem. 


--James
-- 
View this message in context: http://www.nabble.com/ActiveMQResourceAdapter-tf1960773.html#a8511670
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: ActiveMQResourceAdapter

Posted by James Strachan <ja...@gmail.com>.
On 1/22/07, James Adams <ja...@yahoo.com> wrote:
>
>
> Christopher G. Stach II wrote:
> >
> > James Adams wrote:
> >> I'm also in search of this class.  I am using ActiveMQ version 4.1.0, and
> >> I
> >> don't see it anywhere in the JAR file Maven pulled down for this
> >> dependency.
> >>
> >> Is there another dependency I should add to my pom.xml in order to get
> >> the
> >> right JAR which contains this class?
> >>
> >
> >
> > The JAR is packed in the RAR in lib/optional.  You have to extract it.
> > Annoying, huh?
> >
> >
> >
>
>
> I've actually added the following dependency to my pom.xml and it seems to
> have gotten me over the hump.
>
>         <dependency>
>             <groupId>activemq</groupId>
>             <artifactId>activemq-ra</artifactId>
>             <version>4.0.2</version>
>         </dependency>

Here's the 4.1.0 from a maven repo...

http://people.apache.org/repo/m2-incubating-repository/org/apache/activemq/activemq-ra/4.1.0-incubator/
-- 

James
-------
http://radio.weblogs.com/0112098/

Re: ActiveMQResourceAdapter

Posted by James Adams <ja...@yahoo.com>.

Christopher G. Stach II wrote:
> 
> James Adams wrote:
>> I'm also in search of this class.  I am using ActiveMQ version 4.1.0, and
>> I
>> don't see it anywhere in the JAR file Maven pulled down for this
>> dependency.
>> 
>> Is there another dependency I should add to my pom.xml in order to get
>> the
>> right JAR which contains this class?
>> 
> 
> 
> The JAR is packed in the RAR in lib/optional.  You have to extract it.
> Annoying, huh?
> 
> 
> 


I've actually added the following dependency to my pom.xml and it seems to
have gotten me over the hump.

        <dependency>
            <groupId>activemq</groupId>
            <artifactId>activemq-ra</artifactId>
            <version>4.0.2</version>
        </dependency>

Unfortunately when I extract the lib/optional RAR file
(activemq-rar-4.1.0-incubator.rar) from the ActiveMQ 4.1.0 ZIP file using
ZipGenius and then try to open the extracted RAR file with ZipGenius I get
an error telling me that it's an invalid RAR file (List index out of
bounds(0)).  So for now I'm stuck using the old version, which I guess/hope
is OK.


--James
-- 
View this message in context: http://www.nabble.com/ActiveMQResourceAdapter-tf1960773.html#a8485510
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: ActiveMQResourceAdapter

Posted by "Christopher G. Stach II" <cg...@ldsys.net>.
James Adams wrote:
> I'm also in search of this class.  I am using ActiveMQ version 4.1.0, and I
> don't see it anywhere in the JAR file Maven pulled down for this dependency.
> 
> Is there another dependency I should add to my pom.xml in order to get the
> right JAR which contains this class?
> 
> Thanks in advance...
> 
> 
> --James
>  
> 
> 
> Sufyan Arif wrote:
>> Hi,
>>
>>  
>>
>> I am trying to find a class called
>>
>>  
>>
>> org.apache.activemq.ra.ActiveMQResourceAdapter
>>
>>  
>>
>> I need to use this file when setting up Jencks container. I am using
>> incubator-activemq-4.0.1 and have looked in activemq-core-4.0.1.jar but
>> the ActiveMQResourceAdapter does not exist in it.
>>
>>  
>>
>> Could someone tell me where I can find ActiveMQResourceAdapter?
>>

The JAR is packed in the RAR in lib/optional.  You have to extract it.
Annoying, huh?

-- 
Christopher G. Stach II