You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Keiichi Fujino <kf...@apache.org> on 2017/11/01 07:28:33 UTC

Re: Beginner help setting up test vertical cluster

Hi Dave.

Your Interceptor settings are as follows.


>             <Interceptor className="org.apache.catalina.tribes.group.
> interceptors.TcpPingInterceptor"></Interceptor>
>             <Interceptor className="org.apache.catalina.tribes.group.
> interceptors.TcpFailureDetector"></Interceptor>
>             <Interceptor className="org.apache.catalina.tribes.group.
> interceptors.ThroughputInterceptor" />
>             <Interceptor className="org.apache.catalina.tribes.group.
> interceptors.StaticMembershipInterceptor">
>               <LocalMember className="org.apache.
> catalina.tribes.membership.StaticMember" domain="clustertest"
> uniqueId="{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}"></LocalMember>
>               <Member className="org.apache.catalina.tribes.membership.StaticMember"
> domain="clustertest" host="xxx.xxx.xxx.xxx" port="4001" securePort="-1"
> uniqueId="{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0}"></Member>
>             </Interceptor>
>             <Interceptor className="org.apache.catalina.tribes.group.
> interceptors.DomainFilterInterceptor"></Interceptor>
>             <Interceptor className="org.apache.catalina.tribes.group.
> interceptors.MessageDispatchInterceptor"></Interceptor>
>
>
>
You specified domain="clustertest" in <Member>, but DomainFilterInterceptor
does not have a domain setting.
If you want to filter by domain, you have to set domain="clustertest" to
DomainFilterInterceptor.
if you do not want to filter by domain, you have to remove
domain="clustertest" from  <Member> or remove DomainFilterInterceptor.

Also, if you use DomainFilterInterceptor with static membership, you must
list it above StaticMembershipInterceptor.

e.g.
TcpPingInterceptor->TcpFailureDetector->DomainFilterInterceptor->StaticMembershipInterceptor
or
DomainFilterInterceptor->TcpPingInterceptor->TcpFailureDetector->StaticMembershipInterceptor


-- 
Keiichi.Fujino

Re: Beginner help setting up test vertical cluster

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Keiichi,

On 11/1/17 3:28 AM, Keiichi Fujino wrote:
> Hi Dave.
> 
> Your Interceptor settings are as follows.
> 
> 
>> <Interceptor className="org.apache.catalina.tribes.group. 
>> interceptors.TcpPingInterceptor"></Interceptor> <Interceptor
>> className="org.apache.catalina.tribes.group. 
>> interceptors.TcpFailureDetector"></Interceptor> <Interceptor
>> className="org.apache.catalina.tribes.group. 
>> interceptors.ThroughputInterceptor" /> <Interceptor
>> className="org.apache.catalina.tribes.group. 
>> interceptors.StaticMembershipInterceptor"> <LocalMember
>> className="org.apache. catalina.tribes.membership.StaticMember"
>> domain="clustertest" 
>> uniqueId="{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}"></LocalMember>
>>
>> 
<Member className="org.apache.catalina.tribes.membership.StaticMember"
>> domain="clustertest" host="xxx.xxx.xxx.xxx" port="4001"
>> securePort="-1" 
>> uniqueId="{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0}"></Member> 
>> </Interceptor> <Interceptor
>> className="org.apache.catalina.tribes.group. 
>> interceptors.DomainFilterInterceptor"></Interceptor> <Interceptor
>> className="org.apache.catalina.tribes.group. 
>> interceptors.MessageDispatchInterceptor"></Interceptor>
>> 
>> 
>> 
> You specified domain="clustertest" in <Member>, but
> DomainFilterInterceptor does not have a domain setting. If you want
> to filter by domain, you have to set domain="clustertest" to 
> DomainFilterInterceptor. if you do not want to filter by domain,
> you have to remove domain="clustertest" from  <Member> or remove
> DomainFilterInterceptor.
> 
> Also, if you use DomainFilterInterceptor with static membership,
> you must list it above StaticMembershipInterceptor.
> 
> e.g. 
> TcpPingInterceptor->TcpFailureDetector->DomainFilterInterceptor->Stati
cMembershipInterceptor
>
> 
or
> DomainFilterInterceptor->TcpPingInterceptor->TcpFailureDetector->Stati
cMembershipInterceptor

Would
> 
it be appropriate for Tomcat to sanity-check some of the
settings above to catch this kind of oversight? Or are there too many
possibilities of valid configuration that it's not possible to
validate in this way?

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAln6Ht8ACgkQHPApP6U8
pFhr6hAAtLVR0j+C5UorKkIJv1EIBZJcTS+ZDr/69U89ELLf91OKz0K+6mqmgXl/
TGpkKjKPAhDsmR+1uGh7SR89i0jZVMc29plo1qjd0XIYMJtgViGzA841XFN53Ndh
XI2vIVh+XdunxKO4kWzWaAXdUPVmYkKiZ9A8Sc+c5hYkJA9Pa3PzMZoXWBfhcKHM
hbmGyd1wsFCN+1iWrj2Hd9QAIG9v+gNfJvRQ9e773EOorQz3YMrgjIBUSPy5amC9
E/tng/el9x6jv7FaWIHTH2a12OGZAGSldzDV25w3a3tLq5dIzBGzQytYCPUkPpVr
JOaQewjLLEGgfw39v5EwI4Z/WJAzOP+vozmdYRFyxPgvOwHOkWP7CuXEvHszZD9T
Tggir4TLninyU9Hotq6mzsYeWnaF63OHAPECowOhxro7plZjHdBEqEy+kcn2/r+F
CiGhZI4B7B+RqjK62sx2VNIxNPjiPZycSlt7zXkljkBCRQRWSip1JKcXmQjJgeCB
16mB4rYHSDsAezfvD+/3G20V0j1evl5MPSrn/f9bOj4blOIhMi48m1zEGSyihFr3
SiocXLgje+vXWRXX82IoqH6lR2rcGOwvrGfvO5qzQzT7G7OCRShMZNEBqgWclMOh
tqy/ernLtrp7BuGpJpRn0twqK8qlhGlMyr4kYZ7GIcZEdq7hG/0=
=fSTg
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org