You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "peter.argalas" <pe...@zuno.eu> on 2011/04/14 13:30:25 UTC
How to correctly setup Tomcat 7 to enable sending messages between
2 wars
Dear,
I have two applications deployed to tomcat as two separate wars. Application
1 wants to send message to application 2 using VM component. Documentation
says, that camel-core.jar has to be on the system/boot classpath.
I have stored camel-core-2.7.0.jar in $CATALINA_HOME/lib restarted tomcat,
deployed both applications, but message cannot be sent to application 2 (it
times out).
1. Has to be camel-core-2.7.0.jar excluded from WAR?
2. Does anybody have example of Tomcat 7 setup that shares camel-core.jar
for all applications?
Thanks.
--
View this message in context: http://camel.465427.n5.nabble.com/How-to-correctly-setup-Tomcat-7-to-enable-sending-messages-between-2-wars-tp4302787p4302787.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to correctly setup Tomcat 7 to enable sending messages
between 2 wars
Posted by "peter.argalas" <pe...@zuno.eu>.
Willem Thanks for advise.
Currently my applications are working together. Steps that had to be done
for camel 2.7.0 and tomcat 7.0.6 are:
1. place camel-core, log4j, slf4j-api, slf4j-log4j12 and commons-management
into $CATALINA_HOME/lib
2. remove mentioned jars from both war files
--
View this message in context: http://camel.465427.n5.nabble.com/How-to-correctly-setup-Tomcat-7-to-enable-sending-messages-between-2-wars-tp4302787p4304773.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to correctly setup Tomcat 7 to enable sending messages between
2 wars
Posted by Willem Jiang <wi...@gmail.com>.
On 4/14/11 7:30 PM, peter.argalas wrote:
> Dear,
>
> I have two applications deployed to tomcat as two separate wars. Application
> 1 wants to send message to application 2 using VM component. Documentation
> says, that camel-core.jar has to be on the system/boot classpath.
>
> I have stored camel-core-2.7.0.jar in $CATALINA_HOME/lib restarted tomcat,
> deployed both applications, but message cannot be sent to application 2 (it
> times out).
>
> 1. Has to be camel-core-2.7.0.jar excluded from WAR?
Yes, you need to remove the camel-core from your application WAR.
> 2. Does anybody have example of Tomcat 7 setup that shares camel-core.jar
> for all applications?
>
> Thanks.
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-correctly-setup-Tomcat-7-to-enable-sending-messages-between-2-wars-tp4302787p4302787.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com