Which version of activemq are you using ? We take out the activemq component from activemq-core in Activemq 5.2.
I suggest you to use that verion so you could have this kind of setup: CATALINA_HOME /lib/ext/activemq-core.jar /lib/ext/camel-core.jar /webapp/ROOT/WEB-INF/lib/activemq-camel.jar /webapp/ROOT/WEB-INF/lib/camel-jms.jar /webapp/ROOT/WEB-INF/lib/camel-spring.jar /webapp/ROOT/WEB-INF/lib/spring-and-dependencies.jar Willem On Tue, Feb 24, 2009 at 9:34 PM, Markus Wolf <markus.w...@nmmn.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I try to deploy a camel context using spring inside Tomcat6 with ActiveMQ. > > We have the following setup: > CATALINA_HOME > /lib/ext/activemq.jar > /lib/ext/camel-core.jar > /webapp/ROOT/WEB-INF/lib/camel-jms.jar > /webapp/ROOT/WEB-INF/lib/camel-spring.jar > /webapp/ROOT/WEB-INF/lib/spring-and-dependencies.jar > > When we start our tomcat we get a ClassNotFoundException for the > org.apache.camel.component.jms.JmsComponent. And now I'm unsure how to > deploy the whole thing 'the right way'. > When we put activemq with camel-core into our webapp we have classloader > leaks and cannot undeploy our application. > When we put camel-jms into the lib/ext folder of tomcat we are forced to > place the whole spring and dependencies there also. That seems wrong to > me also. > > Can anyone give me a hint about the deployment? > Thanks > Markus Wolf > - -- > NMMN - New Media Markets & Networks GmbH > Geschäftsführung: Kfm. Michael Schütt > Finanzamt HH-Altona UStID DE 812 699 852 HRB 71102 Hamburg > HypoVereinsbank - BLZ 200 300 00 - Konto-Nr. 156 29 82 > > http://www.nmmn.com Tel.: +49 40 284 118 -0 > Langbehnstrasse 6 Entwicklung: -720 > 22761 Hamburg Fax: -999 > > Rufen Sie uns kostenlos an: http://www.nmmn.com/call/software > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkmj91gACgkQDBHISU1oEKFSYACfUsgx01wj1UcLbQr2trc8m/Gv > gVUAn22zloCis2pjVjSlLPz6fBLyqghs > =7swM > -----END PGP SIGNATURE----- >