Setting of Local DNS provider failed 오류 발생합니다.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Setting of Local DNS provider failed 오류 발생합니다.

henryj
안녕하세요.

오랜만에 ngrinder 사용해서 부하측정을 진행해보려고 했습니다만,

네임서버관련 오류가 발생하고 있어서요, 혹시 이런 경우에는 어떻게 처리해야되는지 알 수 있을까요??


사용버전 : nGrinder v3.5.5-p1


2022-03-24 11:00:22,461 ERROR Error running worker process
net.grinder.engine.common.EngineException: Setting of Local DNS provider failed
        at net.grinder.engine.process.GrinderProcess.<init>(GrinderProcess.java:154)
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:78)
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:60)
Caused by: java.lang.ClassNotFoundException: sun.net.spi.nameservice.NameService
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:383)
        at java.base/java.lang.Class.forName(Class.java:376)
        at org.ngrinder.dns.NameServiceProxy.set(NameServiceProxy.java:59)
        at net.grinder.engine.process.GrinderProcess.<init>(GrinderProcess.java:151)
        ... 2 common frames omitted


2022-03-24 11:00:22,463 ERROR worker-bootstrap: Error initialising worker process
net.grinder.engine.common.EngineException: Setting of Local DNS provider failed
        at net.grinder.engine.process.GrinderProcess.<init>(GrinderProcess.java:154)
        at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:78)
        at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:60)
Caused by: java.lang.ClassNotFoundException: sun.net.spi.nameservice.NameService
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:383)
        at java.base/java.lang.Class.forName(Class.java:376)
        at org.ngrinder.dns.NameServiceProxy.set(NameServiceProxy.java:59)
        at net.grinder.engine.process.GrinderProcess.<init>(GrinderProcess.java:151)
        ... 2 common frames omitted
Reply | Threaded
Open this post in threaded view
|

Re: Setting of Local DNS provider failed 오류 발생합니다.

junoyoon
Administrator
JDK 버전이 무엇인지요?
Reply | Threaded
Open this post in threaded view
|

Re: Setting of Local DNS provider failed 오류 발생합니다.

henryj
jdk 18로 설치 진행했습니다 혹시 버전차이가 있는걸까요?
Reply | Threaded
Open this post in threaded view
|

Re: Setting of Local DNS provider failed 오류 발생합니다.

leedonggyu
Administrator
JDK 1.8 혹은 JDK11 로 실행해 주시기 바랍니다.