Hi all,

I am working on CAS server upgrade from 6.3.7.4 to 6.5.8 version. 
My clustered environment is working with 3 nodes without any issue.
But, for lower environment with single node, its not working. I am getting 
error on server startup.

Can someone please help?
Do we have a way to disable Hazelcast for Single node?

2022-10-06 08:27:31 [DEBUG] 
org.apereo.cas.ticket.expiration.builder.TicketGrantingTicketExpirationPolicyBuilder
 
 Remember me expiration policy is being configured based on hard timeout of 
[28800] seconds
2022-10-06 08:27:31 [DEBUG] 
org.apereo.cas.ticket.expiration.builder.TicketGrantingTicketExpirationPolicyBuilder
 
 Ticket-granting ticket expiration policy is based on a timeout of [28800] 
seconds
2022-10-06 08:27:31 [DEBUG] 
org.apereo.cas.ticket.expiration.builder.TicketGrantingTicketExpirationPolicyBuilder
 
 Final effective time-to-live of remember-me expiration policy is 
[9223372036854775807] seconds
2022-10-06 08:27:33 [WARN] com.hazelcast.cp.CPSubsystem 
 [10.34.abc.55]:5706 [dev] [5.0.2] CP Subsystem is not enabled. CP data 
structures will operate in UNSAFE mode! Please note that UNSAFE mode will 
not provide strong consistency guarantees.
2022-10-06 08:27:34 [ERROR] com.hazelcast.security  [10.34.abc.55]:5706 
[dev] [5.0.2] Node could not join cluster. Before join check failed node is 
going to shutdown now!
2022-10-06 08:27:34 [ERROR] com.hazelcast.security  [10.34.abc.55]:5706 
[dev] [5.0.2] Reason of failure for node join: Joining node's version 5.0.2 
is not compatible with cluster version 4.0 (Rolling Member Upgrades are 
only supported for the same major version) (Rolling Member Upgrades are 
only supported in Hazelcast Enterprise)
2022-10-06 08:27:34 [WARN] com.hazelcast.instance.impl.Node 
 [10.34.abc.55]:5706 [dev] [5.0.2] Terminating forcefully...
2022-10-06 08:27:35 [ERROR] com.hazelcast.internal.cluster.impl.TcpIpJoiner 
 [10.34.abc.55]:5706 [dev] [5.0.2] Hazelcast instance is not active!
com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance 
is not active!
    at 
com.hazelcast.instance.impl.DefaultNodeExtension$1.get(DefaultNodeExtension.java:344)
 
~[hazelcast-5.0.2.jar:5.0.2]
    at 
com.hazelcast.instance.impl.DefaultNodeExtension$1.get(DefaultNodeExtension.java:341)
 
~[hazelcast-5.0.2.jar:5.0.2]
    at 
com.hazelcast.internal.serialization.impl.AbstractSerializationService.serializerFor(AbstractSerializationService.java:545)
 
~[hazelcast-5.0.2.jar:5.0.2]
    at 
com.hazelcast.internal.serialization.impl.AbstractSerializationService.toBytes(AbstractSerializationService.java:227)
 
~[hazelcast-5.0.2.jar:5.0.2]
    at 
com.hazelcast.internal.serialization.impl.AbstractSerializationService.toBytes(AbstractSerializationService.java:214)
 
~[hazelcast-5.0.2.jar:5.0.2]
    at 
com.hazelcast.internal.serialization.impl.AbstractSerializationService.toBytes(AbstractSerializationService.java:205)
 
~[hazelcast-5.0.2.jar:5.0.2]
    at 
com.hazelcast.spi.impl.operationservice.impl.OutboundOperationHandler.toPacket(OutboundOperationHandler.java:63)
 
~[hazelcast-5.0.2.jar:5.0.2]
    at 
com.hazelcast.spi.impl.operationservice.impl.OutboundOperationHandler.send(OutboundOperationHandler.java:54)
 
~[hazelcast-5.0.2.jar:5.0.2]

*cas.properties:*
cas.ticket.registry.hazelcast.cluster.network.members=10.34.abc.55(tried 
giving localhost, 127.0.0.1 here)
cas.ticket.registry.hazelcast.cluster.core.instance-name=10.34.abc.55 
(tried giving localhost, 127.0.0.1 here)
cas.ticket.registry.hazelcast.cluster.network.port=5704
cas.ticket.registry.hazelcast.core.enable-compression=false
cas.ticket.registry.hazelcast.cluster.core.asyncbackup-count=0
cas.ticket.registry.hazelcast.cluster.core.backup-count=1
cas.ticket.registry.hazelcast.cluster.network.port-auto-increment=true
cas.ticket.registry.hazelcast.cluster.tcpip-enabled=false
cas.ticket.registry.hazelcast.cluster.multicast.enabled=false

Regards,
Anusuya.

-- 
- 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/a9e61c41-92f5-4a43-a25c-7692fff1d898n%40apereo.org.

Reply via email to