You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/08/06 03:31:19 UTC

[GitHub] [rocketmq] ltamber opened a new issue #3223: support start namesrv/broker using higher version jdk

ltamber opened a new issue #3223:
URL: https://github.com/apache/rocketmq/issues/3223


   Currently we can not start broker due to Java 9 have deprecated -Djava.ext.dirs options. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] vongosling commented on issue #3223: support start namesrv/broker using higher version jdk

Posted by GitBox <gi...@apache.org>.
vongosling commented on issue #3223:
URL: https://github.com/apache/rocketmq/issues/3223#issuecomment-895648129


   I think we should request the latest LTS version JDK 11, while not java9, right?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] coolc4 commented on issue #3223: support start namesrv/broker using higher version jdk

Posted by GitBox <gi...@apache.org>.
coolc4 commented on issue #3223:
URL: https://github.com/apache/rocketmq/issues/3223#issuecomment-914932737


   if the rocketmq-4.9.0 was compiled in the openjdk-8 environment 
   
   and it  runs in the environment of openjdk-11
   
   the mqbroker process that comes with the example will report an exception when calling mqshutdown normally: 
   
   java .lang.IllegalStateException: java.lang.reflect.InaccessibleObjectException:
   Unable to make public void jdk.internal.ref.Cleaner.clean() accessible: module java.base does not "exports jdk.internal.ref" to unnamed module
   
   
   
   We can shield this exception by modifying the startup parameters in runbroker.sh
   Add JAVA_OPT="${JAVA_OPT} --add-exports java.base/jdk.internal.ref=ALL-UNNAMED"
   [0001-fix-fixed-the-broker-example-will-report-an-exceptio.txt](https://github.com/apache/rocketmq/files/7126140/0001-fix-fixed-the-broker-example-will-report-an-exceptio.txt)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] ltamber commented on issue #3223: support start namesrv/broker using higher version jdk

Posted by GitBox <gi...@apache.org>.
ltamber commented on issue #3223:
URL: https://github.com/apache/rocketmq/issues/3223#issuecomment-895847780


   > I think we should request the latest LTS version JDK 11, while not java9, right?
   
   Yes, but what I mean is that there are some problem with java9 and higher version to start broker, and we should fix this issue, not just for java9. 
   see #3224 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] duhenglucky closed issue #3223: support start namesrv/broker using higher version jdk

Posted by GitBox <gi...@apache.org>.
duhenglucky closed issue #3223:
URL: https://github.com/apache/rocketmq/issues/3223


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] yiding-he edited a comment on issue #3223: support start namesrv/broker using higher version jdk

Posted by GitBox <gi...@apache.org>.
yiding-he edited a comment on issue #3223:
URL: https://github.com/apache/rocketmq/issues/3223#issuecomment-990556383


   我想劝各位发布类似开源项目的时候,脚本里面不要带上一大堆的 -XX: 调优参数,这些应该交给用户自己去调整,因为你不知道用户用的是什么 JVM。你不必强行帮用户去“优化”,只要留个口子就行了。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org