You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "winflex (GitHub)" <gi...@apache.org> on 2020/03/05 11:50:47 UTC

[GitHub] [dubbo] winflex commented on issue #5829: No such extension org.apache.dubbo.rpc.cluster.LoadBalance by name random

tried to custom my own ForkJoinPoolThreadFactory, and set by -Djava.util.concurrent.ForkJoinPool.common.threadFactory=MyFactory
But it's not working in a spring boot application bacause ForkJoinPool uses AppClassLoader(returned by ClassLoader.getSystemClassLoader()) to load the MyFactory.class and ClassNotFoundException will be thrown. The rigth classloader would be spring boot's own classloader called LaunchedURLClassLoader

[ Full content available at: https://github.com/apache/dubbo/issues/5829 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org