Groups
Sign in
Groups
Hazelcast
Conversations
About
Send feedback
Help
HazelcastException: CP Subsystem is not enabled
49 views
Skip to first unread message
vaishnavi banait
unread,
Sep 25, 2023, 9:00:35 AM
9/25/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Hazelcast
Hello Hazelcast,
While doing hazelcast migration from 3.12.13 to 5.1.6 version facing issue anyone know how this could be fixed let me know. code -
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.cp.ISemaphore;
public class HazelcastSemaphore implements MetaSemaphore {
private HazelcastInstance hazelcastInstance;
public boolean init(int permits) {
if(semaphore == null){
hz1.getCPSubsystem().getSemaphore(id);
semaphore.init(permits);
}
return true;
}
}
Facing error
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.services.config.ConfigService]: Factory method 'configService' threw exception; nested exception is com.hazelcast.core.HazelcastException: CP Subsystem is not enabled!
Reply all
Reply to author
Forward
0 new messages