CAS 5 RC4 snapshot Hazelcast warning

171 views
Skip to first unread message

Tom Mendenhall

unread,
Oct 18, 2016, 10:52:36 AM10/18/16
to cas-...@apereo.org

Not sure if I should be concerned about deprecated warnings but I thought I should mention it. Maybe it's my config but I don't see those settings listed. Have not enabled encryption (yet).

WARN [com.hazelcast.config.MapConfig] - <As of version 3.7, `minEvictionCheckMillis` and `evictionPercentage` are deprecated due to the eviction mechanism change. New eviction mechanism uses a probabilistic algorithm based on sampling. Please see documentation for further details>

cas.properties

# hazelcast ticket cache replication
cas.ticket.registry.hazelcast.pageSize=500
cas.ticket.registry.hazelcast.mapName=tickets
cas.ticket.registry.hazelcast.cluster.evictionPolicy=LRU
cas.ticket.registry.hazelcast.cluster.maxNoHeartbeatSeconds=300
cas.ticket.registry.hazelcast.cluster.multicastEnabled=false
cas.ticket.registry.hazelcast.cluster.evictionPercentage=10
cas.ticket.registry.hazelcast.cluster.tcpipEnabled=true
cas.ticket.registry.hazelcast.cluster.members=192.168.118.7,192.168.118.8,192.168.118.9
cas.ticket.registry.hazelcast.cluster.loggingType=slf4j
cas.ticket.registry.hazelcast.cluster.instanceName=localhost
cas.ticket.registry.hazelcast.cluster.port=5701
cas.ticket.registry.hazelcast.cluster.portAutoIncrement=true
cas.ticket.registry.hazelcast.cluster.maxHeapSizePercentage=85
cas.ticket.registry.hazelcast.cluster.backupCount=1
cas.ticket.registry.hazelcast.cluster.asyncBackupCount=0
cas.ticket.registry.hazelcast.cluster.maxSizePolicy=USED_HEAP_PERCENTAGE
cas.ticket.registry.hazelcast.cluster.timeout=5
# cas.ticket.registry.hazelcast.crypto.signing.key=
# cas.ticket.registry.hazelcast.crypto.signing.keySize=512
# cas.ticket.registry.hazelcast.crypto.encryption.key=
# cas.ticket.registry.hazelcast.crypto.encryption.keySize=16
# cas.ticket.registry.hazelcast.crypto.alg=AES

log4j2.xml
<AsyncLogger name="com.hazelcast" level="info" additivity="false">

Thanks,
Tom

Misagh Moayyed

unread,
Oct 18, 2016, 11:08:20 AM10/18/16
to cas-...@apereo.org
Cool. File an issue please.


From: "Tom Mendenhall" <tom.men...@gmail.com>
To: cas-...@apereo.org
Sent: Tuesday, October 18, 2016 6:22:33 PM
Subject: [cas-user] CAS 5 RC4 snapshot Hazelcast warning

--
CAS gitter chatroom: https://gitter.im/apereo/cas
CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
CAS documentation website: https://apereo.github.io/cas
CAS project website: https://github.com/apereo/cas
---
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+u...@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAAKFJ3E%2B6sCfkoh2%2BG4%3DA%2BQw3dOpvr_qePp-G5%3DhRhDSMuxv%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Travis Schmidt

unread,
Oct 18, 2016, 11:17:39 AM10/18/16
to Tom Mendenhall, cas-...@apereo.org
This is caused by the HazelcastConfiguration.java calling a method that .setEvictionPercentage(); when setting up the ticket map that has been deprecated in version 3.7.1 that is now used.  Nothing you change externally, the class needs to be modified to not call that method.



--
Reply all
Reply to author
Forward
0 new messages