You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Daniel Savard <da...@gmail.com> on 2016/10/20 18:50:44 UTC
Tomcat clustering and FarmDeployer
Hi everyone,
I am testing the FarmDeployer in a Tomcat cluster environment and it seems
it cannot do what I would like it to do.
So far, it works fine to deploy the web application on all cluster members.
However, the way they are deployed is the plain war file drop into the
appBase directory. I didn't find any way to make it working with a context
specific to the application configured in the ${ENGINE}/${HOST}/appName.xml
file for example for the appName web application.
Anyone knows if there is a trick to do that? Or is there a reason it is not
possible to associate a context specific to the web application?
BTW, if it is of any use, I am running Tomcat 8.0.36 and Oracle JDK
1.8.0_92.
Regards,
-----------------
Daniel Savard
Re: Tomcat clustering and FarmDeployer
Posted by Daniel Savard <da...@gmail.com>.
2016-10-20 15:16 GMT-04:00 André Warnier (tomcat) <aw...@ice-sa.com>:
Maybe naive, and I have never tried any of this myself, but is there a
> reason why you cannot use method 2 in
> http://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html#
> A_word_on_Contexts
> in that scenario ?
>
>
André,
thanks I will give it a try. I never used method 2 before and I just forgot
about it.
-----------------
Daniel Savard
Re: Tomcat clustering and FarmDeployer
Posted by Daniel Savard <da...@gmail.com>.
Le 20 oct. 2016 3:21 PM, "André Warnier (tomcat)" <aw...@ice-sa.com> a écrit :
>
> Maybe naive, and I have never tried any of this myself, but is there a
reason why you cannot use method 2 in
>
http://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html#A_word_on_Contexts
> in that scenario ?
>
Thanks, tested for my needs and it's working fine. I had to change one
minor thing in my approach.
Re: Tomcat clustering and FarmDeployer
Posted by "André Warnier (tomcat)" <aw...@ice-sa.com>.
On 20.10.2016 20:50, Daniel Savard wrote:
> Hi everyone,
>
> I am testing the FarmDeployer in a Tomcat cluster environment and it seems
> it cannot do what I would like it to do.
>
> So far, it works fine to deploy the web application on all cluster members.
> However, the way they are deployed is the plain war file drop into the
> appBase directory. I didn't find any way to make it working with a context
> specific to the application configured in the ${ENGINE}/${HOST}/appName.xml
> file for example for the appName web application.
>
> Anyone knows if there is a trick to do that? Or is there a reason it is not
> possible to associate a context specific to the web application?
>
> BTW, if it is of any use, I am running Tomcat 8.0.36 and Oracle JDK
> 1.8.0_92.
>
Maybe naive, and I have never tried any of this myself, but is there a reason why you
cannot use method 2 in
http://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html#A_word_on_Contexts
in that scenario ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org