Reputation: 11
We are using hazelcast in our Spring (Spring boot) based project with embedded Jetty server. We are trying to upgrade from verson 4.2 to 5.3.5 and above. Even a single node cluster is not working. Getting following error:
2025-02-10 20:45:20,882 ERROR Node [10.163.167.124]:5701 [dev] [5.3.5] Node creation failed java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.hazelcast.spi.impl.NodeEngineImpl.createSqlService(NodeEngineImpl.java:216)
at com.hazelcast.spi.impl.NodeEngineImpl.<init>(NodeEngineImpl.java:167)
at com.hazelcast.instance.impl.Node.<init>(Node.java:264)
at com.hazelcast.instance.impl.HazelcastInstanceImpl.createNode(HazelcastInstanceImpl.java:149)
at com.hazelcast.instance.impl.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:118)
at com.hazelcast.instance.impl.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:217)
at com.hazelcast.instance.impl.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:196)
at com.hazelcast.instance.impl.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:134)
at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:61)
at com.mapr.admin.APIServerHazelcastListener.contextInitialized(APIServerHazelcastListener.java:66)
Following is the hazelcast.xml we are using:
<hazelcast
xsi:schemaLocation="http://www.hazelcast.com/schema/config http://www.hazelcast.com/schema/config/hazelcast-config-5.3.xsd"
xmlns="http://www.hazelcast.com/schema/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<properties>
<property name="hazelcast.logging.type">slf4j</property>
</properties>
<map name="my-sessions">
<async-backup-count>1</async-backup-count>
<time-to-live-seconds>600</time-to-live-seconds>
<max-idle-seconds>0</max-idle-seconds>
<eviction size="300" eviction-policy="LRU" max-size-policy="PER_NODE"/>
<map-store enabled="true">
<class-name>com.mapr.admin.lib.JsonDbMapStore</class-name>
</map-store>
</map>
<network>
<port>5801</port>
<join>
<auto-detection enabled="false" />
<multicast enabled="false"></multicast>
<tcp-ip enabled="false">
<member>hostname.example.com</member>
<member>hostname.example.com</member>
</tcp-ip>
</join>
</network>
</hazelcast>
Upvotes: 0
Views: 19