You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kevin Huntly <km...@gmail.com> on 2023/04/12 23:20:02 UTC
Clustering issue
Hello Everyone,
I setup a quick and dirty cluster following
https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html
I am seeing the following:
12-Apr-2023 19:18:00.369 WARNING [main]
org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager
[PersistentManager[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/esolutions]]]
does not implement ClusterManager, addition to cluster has been aborted.
And
12-Apr-2023 19:17:52.652 SEVERE [main]
org.apache.catalina.ha.deploy.FarmWarDeployer.start FarmWarDeployer can
only work as host cluster subelement!
Not sure what I've done wrong
________________________________________________
Kevin Huntly
Email: kmhuntly@gmail.com
Cell: 716/424-3311
________________________________________________
-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------
Re: Clustering issue
Posted by Kevin Huntly <km...@gmail.com>.
Hey Mark,
I had cookie config in my Web app context. I didn't realize that would
cause a problem, so I moved it into the global context and everything
appears to be fine now.
Thank you!
On Sat, Apr 15, 2023, 04:40 Mark Thomas <ma...@apache.org> wrote:
> On 14/04/2023 16:58, Kevin Huntly wrote:
> > Hi Mark,
> >
> > My webapp context makes no mention of the Manager or any kind of session
> > manager - it is only referenced in the global context.xml
>
> What is the Manager configuration in the global context.xml ?
>
> Mark
>
> > ________________________________________________
> >
> > Kevin Huntly
> > Email: kmhuntly@gmail.com
> > Cell: 716/424-3311
> > ________________________________________________
> >
> > -----BEGIN GEEK CODE BLOCK-----
> > Version: 1.0
> > GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
> > W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
> > PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++
> > G++ e(+) h--- r+++ y+++*
> > ------END GEEK CODE BLOCK------
> >
> >
> > On Fri, Apr 14, 2023 at 10:43 AM Mark Thomas <ma...@apache.org> wrote:
> >
> >> On 13/04/2023 00:20, Kevin Huntly wrote:
> >>> Hello Everyone,
> >>>
> >>> I setup a quick and dirty cluster following
> >>>
> >>> https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html
> >>>
> >>> I am seeing the following:
> >>> 12-Apr-2023 19:18:00.369 WARNING [main]
> >>> org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager
> >>>
> >>
> [PersistentManager[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/esolutions]]]
> >>> does not implement ClusterManager, addition to cluster has been
> aborted.
> >>
> >> You have an Context (web application deployed at /esolutions) with an
> >> explicit Manager configured. If you do that, it needs to implement
> >> ClusterManager else the Context can't be clustered.
> >>
> >> Contexts that don't have an explicit manager configured get a cluster
> >> defined default if clustering is enabled and the StandardManager if
> >> clustering is not enabled.
> >>
> >>> And
> >>>
> >>> 12-Apr-2023 19:17:52.652 SEVERE [main]
> >>> org.apache.catalina.ha.deploy.FarmWarDeployer.start FarmWarDeployer can
> >>> only work as host cluster subelement!
> >>
> >> You added the cluster at the engine level so you can't use the
> >> FarmWarDeployer. You need to remove that section - or move the Cluster
> >> definition to inside the Host.
> >>
> >> Mark
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Clustering issue
Posted by Mark Thomas <ma...@apache.org>.
On 14/04/2023 16:58, Kevin Huntly wrote:
> Hi Mark,
>
> My webapp context makes no mention of the Manager or any kind of session
> manager - it is only referenced in the global context.xml
What is the Manager configuration in the global context.xml ?
Mark
> ________________________________________________
>
> Kevin Huntly
> Email: kmhuntly@gmail.com
> Cell: 716/424-3311
> ________________________________________________
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 1.0
> GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
> W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
> PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++
> G++ e(+) h--- r+++ y+++*
> ------END GEEK CODE BLOCK------
>
>
> On Fri, Apr 14, 2023 at 10:43 AM Mark Thomas <ma...@apache.org> wrote:
>
>> On 13/04/2023 00:20, Kevin Huntly wrote:
>>> Hello Everyone,
>>>
>>> I setup a quick and dirty cluster following
>>>
>>> https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html
>>>
>>> I am seeing the following:
>>> 12-Apr-2023 19:18:00.369 WARNING [main]
>>> org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager
>>>
>> [PersistentManager[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/esolutions]]]
>>> does not implement ClusterManager, addition to cluster has been aborted.
>>
>> You have an Context (web application deployed at /esolutions) with an
>> explicit Manager configured. If you do that, it needs to implement
>> ClusterManager else the Context can't be clustered.
>>
>> Contexts that don't have an explicit manager configured get a cluster
>> defined default if clustering is enabled and the StandardManager if
>> clustering is not enabled.
>>
>>> And
>>>
>>> 12-Apr-2023 19:17:52.652 SEVERE [main]
>>> org.apache.catalina.ha.deploy.FarmWarDeployer.start FarmWarDeployer can
>>> only work as host cluster subelement!
>>
>> You added the cluster at the engine level so you can't use the
>> FarmWarDeployer. You need to remove that section - or move the Cluster
>> definition to inside the Host.
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Clustering issue
Posted by Kevin Huntly <km...@gmail.com>.
Hi Mark,
My webapp context makes no mention of the Manager or any kind of session
manager - it is only referenced in the global context.xml
________________________________________________
Kevin Huntly
Email: kmhuntly@gmail.com
Cell: 716/424-3311
________________________________________________
-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------
On Fri, Apr 14, 2023 at 10:43 AM Mark Thomas <ma...@apache.org> wrote:
> On 13/04/2023 00:20, Kevin Huntly wrote:
> > Hello Everyone,
> >
> > I setup a quick and dirty cluster following
> >
> > https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html
> >
> > I am seeing the following:
> > 12-Apr-2023 19:18:00.369 WARNING [main]
> > org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager
> >
> [PersistentManager[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/esolutions]]]
> > does not implement ClusterManager, addition to cluster has been aborted.
>
> You have an Context (web application deployed at /esolutions) with an
> explicit Manager configured. If you do that, it needs to implement
> ClusterManager else the Context can't be clustered.
>
> Contexts that don't have an explicit manager configured get a cluster
> defined default if clustering is enabled and the StandardManager if
> clustering is not enabled.
>
> > And
> >
> > 12-Apr-2023 19:17:52.652 SEVERE [main]
> > org.apache.catalina.ha.deploy.FarmWarDeployer.start FarmWarDeployer can
> > only work as host cluster subelement!
>
> You added the cluster at the engine level so you can't use the
> FarmWarDeployer. You need to remove that section - or move the Cluster
> definition to inside the Host.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Clustering issue
Posted by Mark Thomas <ma...@apache.org>.
On 13/04/2023 00:20, Kevin Huntly wrote:
> Hello Everyone,
>
> I setup a quick and dirty cluster following
>
> https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html
>
> I am seeing the following:
> 12-Apr-2023 19:18:00.369 WARNING [main]
> org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager
> [PersistentManager[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/esolutions]]]
> does not implement ClusterManager, addition to cluster has been aborted.
You have an Context (web application deployed at /esolutions) with an
explicit Manager configured. If you do that, it needs to implement
ClusterManager else the Context can't be clustered.
Contexts that don't have an explicit manager configured get a cluster
defined default if clustering is enabled and the StandardManager if
clustering is not enabled.
> And
>
> 12-Apr-2023 19:17:52.652 SEVERE [main]
> org.apache.catalina.ha.deploy.FarmWarDeployer.start FarmWarDeployer can
> only work as host cluster subelement!
You added the cluster at the engine level so you can't use the
FarmWarDeployer. You need to remove that section - or move the Cluster
definition to inside the Host.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Clustering issue
Posted by Kevin Huntly <km...@gmail.com>.
within the engine but outside the host
On Fri, Apr 14, 2023, 10:23 Mark Thomas <ma...@apache.org> wrote:
> On 13/04/2023 23:28, Kevin Huntly wrote:
> > Hi Chris,
> >
> > The configuration in the link I shared is what I used - copy/paste - I
> want
> > to see it working before I break it =)
>
> And where in server.xml did you add that configuration?
>
> Mark
>
> > ________________________________________________
> >
> > Kevin Huntly
> > Email: kmhuntly@gmail.com
> > Cell: 716/424-3311
> > ________________________________________________
> >
> > -----BEGIN GEEK CODE BLOCK-----
> > Version: 1.0
> > GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
> > W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
> > PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++
> > G++ e(+) h--- r+++ y+++*
> > ------END GEEK CODE BLOCK------
> >
> >
> > On Thu, Apr 13, 2023 at 2:13 PM Christopher Schultz <
> > chris@christopherschultz.net> wrote:
> >
> >> Kevin,
> >>
> >> On 4/12/23 19:20, Kevin Huntly wrote:
> >>> I setup a quick and dirty cluster following
> >>>
> >>> https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html
> >>>
> >>> I am seeing the following:
> >>> 12-Apr-2023 19:18:00.369 WARNING [main]
> >>> org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager
> >>>
> >>
> [PersistentManager[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/esolutions]]]
> >>> does not implement ClusterManager, addition to cluster has been
> aborted.
> >>>
> >>> And
> >>>
> >>> 12-Apr-2023 19:17:52.652 SEVERE [main]
> >>> org.apache.catalina.ha.deploy.FarmWarDeployer.start FarmWarDeployer can
> >>> only work as host cluster subelement!
> >>>
> >>> Not sure what I've done wrong
> >>
> >> Cluster config?
> >>
> >> -chris
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Clustering issue
Posted by Mark Thomas <ma...@apache.org>.
On 13/04/2023 23:28, Kevin Huntly wrote:
> Hi Chris,
>
> The configuration in the link I shared is what I used - copy/paste - I want
> to see it working before I break it =)
And where in server.xml did you add that configuration?
Mark
> ________________________________________________
>
> Kevin Huntly
> Email: kmhuntly@gmail.com
> Cell: 716/424-3311
> ________________________________________________
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 1.0
> GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
> W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
> PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++
> G++ e(+) h--- r+++ y+++*
> ------END GEEK CODE BLOCK------
>
>
> On Thu, Apr 13, 2023 at 2:13 PM Christopher Schultz <
> chris@christopherschultz.net> wrote:
>
>> Kevin,
>>
>> On 4/12/23 19:20, Kevin Huntly wrote:
>>> I setup a quick and dirty cluster following
>>>
>>> https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html
>>>
>>> I am seeing the following:
>>> 12-Apr-2023 19:18:00.369 WARNING [main]
>>> org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager
>>>
>> [PersistentManager[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/esolutions]]]
>>> does not implement ClusterManager, addition to cluster has been aborted.
>>>
>>> And
>>>
>>> 12-Apr-2023 19:17:52.652 SEVERE [main]
>>> org.apache.catalina.ha.deploy.FarmWarDeployer.start FarmWarDeployer can
>>> only work as host cluster subelement!
>>>
>>> Not sure what I've done wrong
>>
>> Cluster config?
>>
>> -chris
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Clustering issue
Posted by Kevin Huntly <km...@gmail.com>.
Hi Chris,
The configuration in the link I shared is what I used - copy/paste - I want
to see it working before I break it =)
________________________________________________
Kevin Huntly
Email: kmhuntly@gmail.com
Cell: 716/424-3311
________________________________________________
-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++ DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------
On Thu, Apr 13, 2023 at 2:13 PM Christopher Schultz <
chris@christopherschultz.net> wrote:
> Kevin,
>
> On 4/12/23 19:20, Kevin Huntly wrote:
> > I setup a quick and dirty cluster following
> >
> > https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html
> >
> > I am seeing the following:
> > 12-Apr-2023 19:18:00.369 WARNING [main]
> > org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager
> >
> [PersistentManager[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/esolutions]]]
> > does not implement ClusterManager, addition to cluster has been aborted.
> >
> > And
> >
> > 12-Apr-2023 19:17:52.652 SEVERE [main]
> > org.apache.catalina.ha.deploy.FarmWarDeployer.start FarmWarDeployer can
> > only work as host cluster subelement!
> >
> > Not sure what I've done wrong
>
> Cluster config?
>
> -chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Clustering issue
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Kevin,
On 4/12/23 19:20, Kevin Huntly wrote:
> I setup a quick and dirty cluster following
>
> https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html
>
> I am seeing the following:
> 12-Apr-2023 19:18:00.369 WARNING [main]
> org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager
> [PersistentManager[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/esolutions]]]
> does not implement ClusterManager, addition to cluster has been aborted.
>
> And
>
> 12-Apr-2023 19:17:52.652 SEVERE [main]
> org.apache.catalina.ha.deploy.FarmWarDeployer.start FarmWarDeployer can
> only work as host cluster subelement!
>
> Not sure what I've done wrong
Cluster config?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org