|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
JMS & ActiveMQ
Hello all,Rich 05/15/08 04:49 P Dependency conflicts are a fact of life as far as I have found. I'd beAdam Haskell 05/16/08 03:55 P > Dependency conflicts are a fact of life as far as I have found.James Holmes 05/17/08 09:25 P > > Dependency conflicts are a fact of life as far as I have found.Rich 05/19/08 10:15 A http://javaloader.riaforge.org/James Holmes 05/19/08 11:16 A On Thu, May 15, 2008 at 1:49 PM, Rich <rich@krollstudios.com> wrote:Sean Corfield 05/19/08 05:56 P 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 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 ----- > 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/ > > 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 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
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||