Hi Dave ,
Thanks for your reply .
- I have not done this with Tomcat 9 / Java 11 or CAS 6.x, but it seems
to me you need to fix this: --
-
* I just wanted to build my env with latest versions and patches . Cause my
aim , i used ubuntu 1804 , tomcat 9.0.26 and CAS latest branch/master
deployment. *
- Also, are you sure the port 5701 is open in the firewall on both
hosts? If it's not, the Hazelcasts can't talk to each other.
- Yes , i am sure . I try to connect their ports ( casuno and casdos
) with port 5701 via telnet , both them connected. And they are in same
subnet also , for ex ;
- VIP : LB : casnlb : 172.16.100.100 ( casnlb.xxxx.edu.tr --- telnet
5701 is unsuccessful . , is that normal , virtual ip should be listen
port
5701 or not ? ) ( I understood that they dont need to communicate via
LB ip
or domain name , the just communicate each other via their cluster
member
name )
- casuno : first cas server : 172.16.100.110 (
casunoxxxx.edu.tr --- telnet 5701 is successful . from casdos to
casuno
and from casuno to casuno , they have proper dns A record and both
sites
telnet connections are successful )
- casdos : second cas server : 172.16.100.120 (
casdosxxxx.edu.tr --- telnet 5701 is successful . from casuno to
casdos
and from casdos to casdos , they have proper dns A record and both
sites
telnet connections are successful )
- Are the host names you're using to configure the Hazelcast members the
actual names of the hosts that resolve to their direct IP addresses? ( Yes
, servers are Ubuntu 1804 and their hostname are casuno and casdos , They
have DNS A record in our DNS Server , and they are able to communicate each
other via their's domain name .
- Or do they resolve to the load balancer? ( LB also has DNS record . I
mentioned about records above )
- You want them talking directly to each other, not through the load
balancer (it's an entirely "back end" conversation that doesn't involve the
client.) ( They are talking , communicate each other directly , not through
LB , i tried telnet to LB domain name -- casnlb with port 5701 but it was
unsuccessful )
Last ; --add-modules java.se --add-exports
java.base/jdk.internal.ref=ALL-UNNAMED --add-opens
java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED
--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens
java.management/sun.management=ALL-UNNAMED --add-opens
jdk.management/com.sun.management.internal=ALL-UNNAMED
Yes you are right , it is totatly about configuration of java ,, i search
in google and it is redirected me stackoverflow and some other sites , i
also try to add these modules to java but couldnt add.
If it is possible could you please share your env details . For ex , what
is your LB , which method do you use , which version CAS do you have , also
Cas-management , how your cas hazelcast configured , and similar things?
Thanks for everything .
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/3d44afe7-cc92-44ee-a1cc-c5a6ef560eb0%40apereo.org.