Closed emillundstrm closed 4 years ago
@emillundstrm, thanks for reporting this issue. It looks YAML configuration is missed when getting the configuration in both P2PLifecycleListener
and ClientServerLifecycleListener
. As a workaround, you can use hazelcastInstanceName
attribute in Manager
element in context.xml
. It specifies an existing Hazelcast instance to use for session replication which you can configure using YAML.
The project README has a sample hazelcast.yaml file, which gives the impression that yaml is supported when using hazelcast 4. However, P2PLifecycleListener uses com.hazelcast.internal.config.ConfigLoader, which seems to always parse the config file as XML, giving this error on startup: