Hazelcast client server issues

68 views
Skip to first unread message

mural...@gmail.com

unread,
Aug 5, 2020, 7:45:28 AM8/5/20
to Hazelcast
Hi ,

Currently i am using client sever topology model with 5 java clients .All 5 java clients are web applications and am getting below error in logs.

Failed to execute java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@6bb6a27
java.lang.NoClassDefFoundError: com/hazelcast/client/impl/protocol/util/BufferBuilder



The other error is getting printed in logs continuously is as below.

Illegal access: this web application instance has been stopped already.
Could not load [com.hazelcast.client.impl.protocol.ClientMessage]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
java.lang.IllegalStateException: I
llegal access: this web application instance has been stopped already.
Could not load [com.hazelcast.client.impl.protocol.ClientMessage].
The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.


could some one guide me to fix this.?

Sharath Sahadevan

unread,
Aug 17, 2020, 10:50:50 AM8/17/20
to Hazelcast
This looks like a duplicate of the issue posted on Gitter.
Re-Posting the response from Jaromir Hamala here .

"It looks you had deployed a webapplication with an embedded Hazelcast. Then you undeployed the application from Tomcat, but the application failed to stop Hazelcast instance. You should always stop all Hazelcast instances when an application is being stopped. the simplest thing should be to call HazelcastInstance.shutdown() from a context listener. See an example here: https://www.codejava.net/java-ee/servlet/weblistener-annotation-examples"

Reply all
Reply to author
Forward
0 new messages