The way I usually test things, since we have a cluster of CAS servers, is:

   1. Start an incognito/private mode browser so there are no cookies
   2. Log in to Application 1 through CAS
   3. Check the CAS logs to figure out which server handled my login
   4. Shut that CAS server down
   5. Go back to the browser and access another CAS-protected service -- if
   it lets me in without username/password then Hazelcast is at least
   nominally working; if I get prompted again, then something is wrong

The warnings you're seeing are not familiar to me but seem to suggest
something's wrong with your Java configuration. But since they're warnings
and not errors, things should(?) still work.

Did you remember to open the firewall on the CAS servers to let them
communicate with each other over port 5701/udp and 5701/tcp?

--Dave

--

DAVID A. CURRY, CISSP
*DIRECTOR • INFORMATION SECURITY & PRIVACY*
THE NEW SCHOOL • INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 646 909-4728 • david.cu...@newschool.edu


On Fri, Oct 18, 2019 at 9:49 AM M.Pedis <muratpe...@gmail.com> wrote:

> Hi Dave ,
>
> Thaks for your reply. I have configured my env. as you say  and it works .
> But i have some warning messages , i dont know how to get rid of them. One
> more , how can i test it , it works properly or not ? It seems everything
> ok , but how can i test hazelcast , i dont know how hazelcast replicates
> tickets and how can i verify each node can has same ticket? Simply i want
> to test it by stopping one of the cas node's tomcat service ,then refresh
> the browser but other node couldnt send any reply, my session has end and
> it forced me login to active node again. You or someone could please help
> me about that? Thank you.
>
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> 2019-10-16 09:19:50,525 INFO
> [org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator]
> - <Configuration files found at [/etc/cas/config] are [[file
> [/etc/cas/config/cas.properties]]] under profile(s) [[standalone]]>
> 2019-10-16 09:19:50,595 INFO
> [org.apereo.cas.web.CasWebApplicationServletInitializer] - <The following
> profiles are active: standalone>
> 2019-10-16 09:19:56,393 INFO
> [org.apereo.cas.services.resource.AbstractResourceBasedServiceRegistry] -
> <Watching service registry directory at [/etc/cas/services-repo]>
> 2019-10-16 09:19:56,401 INFO [org.apereo.cas.util.io.PathWatcherService] -
> <Watching directory at [/etc/cas/services-repo]>
> 2019-10-16 09:19:58,088 INFO
> [org.apereo.cas.config.LdapAuthenticationConfiguration] - <Registering LDAP
> authentication for [LdapAuthenticationHandler]>
>
>
> 16-Oct-2019 09:19:58.727 WARNING [main]
> com.hazelcast.instance.HazelcastInstanceFactory.null Hazelcast is starting
> in a Java modular environment (Java 9 and newer) but without proper access
> to required Java packages. Use additional Java arguments to provide
> Hazelcast access to Java internal API. The internal API access is used to
> get the best performance results. Arguments to be used:
>  --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
> 2019-10-16 09:19:58,818 WARN [com.hazelcast.instance.AddressPicker] -
> <[LOCAL] [dev] [3.12.3] You configured your member address as host name.
> Please be aware of that your dns can be spoofed. Make sure that your dns
> configurations are correct.>
> 2019-10-16 09:19:58,819 WARN [com.hazelcast.instance.AddressPicker] -
> <[LOCAL] [dev] [3.12.3] You configured your member address as host name.
> Please be aware of that your dns can be spoofed. Make sure that your dns
> configurations are correct.>
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by
> com.hazelcast.internal.networking.nio.SelectorOptimizer
> (file:/opt/tomcat/webapps/cas/WEB-INF/lib/hazelcast-3.12.3.jar) to field
> sun.nio.ch.SelectorImpl.selectedKeys
> WARNING: Please consider reporting this to the maintainers of
> com.hazelcast.internal.networking.nio.SelectorOptimizer
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> 2019-10-16 09:20:09,517 INFO
> [org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration]
> - <
>
> Using generated security password: 2ab6b74e-418b-4915-8094-82415aa231ca
> >
> 2019-10-16 09:20:09,672 INFO
> [org.springframework.security.web.access.channel.ChannelProcessingFilter] -
> <Validated configuration attributes>
> 2019-10-16 09:20:09,691 INFO
> [org.springframework.security.web.DefaultSecurityFilterChain] - <Creating
> filter chain: any request,
> [org.springframework.security.web.access.channel.ChannelProcessingFilter@db39fa0,
> org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4af9870a,
> org.springframework.security.web.context.SecurityContextPersistenceFilter@f39f9ba,
> org.springframework.security.web.savedrequest.RequestCacheAwareFilter@62ee18dc,
> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@316b31c6,
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter@69305443,
> org.springframework.security.web.session.SessionManagementFilter@16bef812,
> org.springframework.security.web.access.ExceptionTranslationFilter@75bc3bd9,
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor@746567be
> ]>
> 2019-10-16 09:20:10,860 INFO
> [org.apereo.cas.web.CasWebApplicationServletInitializer] - <Started
> CasWebApplicationServletInitializer in 22.663 seconds (JVM running for
> 108.313)>
> 2019-10-16 09:20:10,873 INFO [org.apereo.cas.web.CasWebApplication] - <>
> 2019-10-16 09:20:10,876 INFO [org.apereo.cas.web.CasWebApplication] - <
>
>   ____    _____      _      ____   __   __
>  |  _ \  | ____|    / \    |  _ \  \ \ / /
>  | |_) | |  _|     / _ \   | | | |  \ V /
>  |  _ <  | |___   / ___ \  | |_| |   | |
>  |_| \_\ |_____| /_/   \_\ |____/    |_|
>
>
> --
> - 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 cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/0858edd5-8f0b-4684-a56d-5f1462f8f7f2%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/0858edd5-8f0b-4684-a56d-5f1462f8f7f2%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAPY20OinXTNZyE%2BN5p0jwQacqMsfawfxd_mkTJvwkfoYA%40mail.gmail.com.

Reply via email to