You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sunjce_provider.jar is located in JAVA_HOME/jre/lib/ext.
The root reason is that the Dockerfile does not set the JAVA_HOME correctly when generating rocketmq docker image.
A quick workaround is to add the following env in play-docker.sh
-e "JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre"
The sunjce_provider.jar is located in JAVA_HOME/jre/lib/ext.
The root reason is that the Dockerfile does not set the JAVA_HOME correctly when generating rocketmq docker image.
A quick workaround is to add the following env in play-docker.sh
-e "JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre"
BUG REPORT
I use docker pull rocketmqinc/rocketmq latest , pull rmq docker image
and run docker use follow two line
I run
docker exec -it 683f94d89122 ./mqadmin clusterList -n namesrvip:9876
success connect
docker
what's in runbroker.sh has:
JAVA_OPT="${JAVA_OPT} -Djava.ext.dirs=${JAVA_HOME}/jre/lib/ext:${BASE_DIR}/lib"
is /opt/rocketmq-4.4.0/lib missed sunjce_provider.jar ?
The text was updated successfully, but these errors were encountered: