camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Camel + ActiveMQ in Tomcat6
Date Tue, 24 Feb 2009 13:47:51 GMT
Hi

Have you tried NOT having camel-core.jar in /lib/ext, but putting all
the camel jars in the WEB-INF/lib


On Tue, Feb 24, 2009 at 2:34 PM, Markus Wolf <markus.wolf@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-----
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/

Mime
View raw message