Using Hazelcast ticket registry with hazelcast client

46 views
Skip to first unread message

Filip Majernik

unread,
Oct 15, 2020, 9:38:31 AM10/15/20
to CAS Community
I am using the hazelcast ticket registry for my distributed deployment and it is working nice. However, I have different components in the application which are also using hazelcast. I would like to create my own hazelcast cluster and have the other apps to connect to it through the HZ client, but I cannot find the CAS configuration which would support this. I am using CAS 6.2.2. Anybody has an idea how to configure this?

Thanks,
Filip

Nathan Lewan

unread,
Jan 9, 2022, 4:01:56 PM1/9/22
to CAS Community, Filip Majernik
I am looking for something similar, where I am using hazelcast as my ticket registry, but am looking to customize the configuration of it. I have tried taking the cas-generated hazelcast config xml (as seen from hazelcast management center), saving it to a location on the hard drive, modifying the settings I would like, and then trying to point cas at this config xml, with no results. 

I have tried passing a java argument like this:
-Dhazelcast.config=$CAS_BASE_DIR/cas-settings/config/hazelcast-config.xml

I have also tried setting it in cas.properties like this:
hazelcast.config=file:${hcc.base.dir}/cas-settings/config/hazelcast-config.xml

neither of which have seemed to have an effect.

anyone have another idea on how to pass a custom XML, or otherwise interact with the hazelcast instance of cas other than the properties mentioned in the documentation via cas.properties?

thanks!

Reply all
Reply to author
Forward
0 new messages