Skip to content

HazelcastEntryProcessorAdapter calss not found #186

Discussion options

You must be logged in to vote

@haiderali22

I suppose that I have found the problem. When you are using the ADD https://repo.maven.apache.org/maven2/com/github/vladimir-bukhtoyarov/bucket4j-core/$BUCKET4J_VERSION/bucket4j-core-$BUCKET4J_VERSION.jar ${HZ_HOME}/lib it creates the files with wrong permissions -rw------- while jars that added by Hazelcast guys have -rw-r--r-- permissions, as result JVM can not use added jars as classpath entry.

So you need to fix the permissions for added files

FROM hazelcast/hazelcast:4.2
USER root

ENV BUCKET4J_VERSION 6.3.0
ENV JCACHE_VERSION 1.1.1
ENV HZ_VERSION 4.2

# Adding custom hazelcast.xml
ADD hazelcast.xml ${HZ_HOME}
ENV JAVA_OPTS -Dhazelcast.config=${HZ_HOME}/hazelcast.xml

# D…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@haiderali22
Comment options

Comment options

You must be logged in to vote
1 reply
@haiderali22
Comment options

Answer selected by haiderali22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants