House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Search cf-talk

July 04, 2009

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Home /  Groups /  ColdFusion Talk (CF-Talk)

JMS & ActiveMQ

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rich
05/15/2008 04:49 PM

Hello all, Does anyone have any experience with CF8 & ActiveMQ integration?   I was attempting to set up activeMQ 5.1 and leverage the ActiveMQ event gateway, and when starting the example, received a class not found error for the connection factory.  Based upon this, I added the activeMQ jars to the CF classpath so CF could access the dependant classes, only to run into problems with class library versions (i.e. CF8 uses commons-logging v1.0 and ActiveMQ uses 1.1).  Because of these dependency problems, I had to downgrade ActiveMQ to version 4.1 and have now successfully delivered and received messages, but really wanted to use 5.1. I expected the CF example gateways to work out of the box, and not for me to have to install jars onto the classpath to get it to work.  I did not see any notes in the docs regarding any installation being necessary, so I hope I am just missing something trivial.  Can anyone point me in the right direction? Adobe hypes CFs easy integration with Java, yet every time I have attempted to leverage open source software as an integration point, I feel nothing but pain (Quartz and now ActiveMQ).  Am I missing something here?  Is there some easy way to get a clean classpath, or to manage these dependency conflicts? Rich

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Adam Haskell
05/16/2008 03:55 PM

Dependency conflicts are a fact of life as far as I have found. I'd be surprised if you couldn't just hack the early version of commons out and put the new one in, kind of shocked it presented an issue anyway. We're using WebSphere MQ without issue, but if I recall they repackaged everything into a new namespace so no conflict... I'll try to find the blogs about ActiveMQ...I know there are a few entries out there concerning ActiveMQ and CF (but not sure of the versions involved)... Adam Haskell On Thu, May 15, 2008 at 4:49 PM, Rich <rich@krollstudios.com> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
James Holmes
05/17/2008 09:25 PM

> Dependency conflicts are a fact of life as far as I have found. These can usually be avoided by getting everything into a classloader and calling the classes from that. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rich
05/19/2008 10:15 AM

> > Dependency conflicts are a fact of life as far as I have found. > > These can usually be avoided by getting everything into a classloader > and calling the classes from that. Do you know of any samples / examples on how to do this?  This is exactly what I'm trying to determine how to accomplish. Rich

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Sean Corfield
05/19/2008 05:56 PM

On Thu, May 15, 2008 at 1:49 PM, Rich <rich@krollstudios.com> wrote: > Does anyone have any experience with CF8 & ActiveMQ integration? Yes (I wrote the event gateway). > I was attempting to set up activeMQ 5.1 and leverage the ActiveMQ event AMQ5.1 won't work. AMQ4.1 will. Not sure what they fubar'd in there but I've had a couple of people email me about it - and Google shows other people out there having similar problems with AMQ5.1 (who are not using CF). -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists