Re: [cas-user] CAS 5 RC4 snapshot Hazelcast warning

2016-10-18 Thread Travis Schmidt
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.



On Tue, Oct 18, 2016 at 7:52 AM Tom Mendenhall 
wrote:

>
> 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] -  `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
> 
>
> Thanks,
> Tom
>
> --
> 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+unsubscr...@apereo.org.
> To post to this group, send email to cas-user@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.
>

-- 
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+unsubscr...@apereo.org.
To post to this group, send email to cas-user@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/CAC_RtEbf29Rg6TWMGD-n-L%3DH1H%2BrT6HsBaXJuNubtJv4_SbHZA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.


Re: [cas-user] CAS 5 RC4 snapshot Hazelcast warning

2016-10-18 Thread Misagh Moayyed
Cool. File an issue please. 


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


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] -  

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 
 

Thanks, 
Tom 


-- 
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+unsubscr...@apereo.org . 
To post to this group, send email to cas-user@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 . 

-- 
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+unsubscr...@apereo.org.
To post to this group, send email to cas-user@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/2046546042.4017801.1476803285591.JavaMail.zimbra%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.