You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/10/07 04:16:50 UTC

[GitHub] [skywalking] hello-zhengzq edited a comment on issue #3258: ScopeDefine name = All not found

hello-zhengzq edited a comment on issue #3258: ScopeDefine name = All not found
URL: https://github.com/apache/skywalking/issues/3258#issuecomment-538833336
 
 
   > > not only caused by JDK11, but also caused by JDK8, i try version 6.3 and 6.4, same error happened.
   > 
   > @hello-zhengzq JDK8 is the recommended version for our OAP backend, and we run the e2e test in every PR and the tests results show that it works well in JDK8, did you really got the exactly same exception? Can you provide more details?
   
   hello, my environment:
   macOS 10.12.6
   java version "1.8.0_221"
   
   i used skywalking refering to some urls like [https://blog.csdn.net/zhangningkid/article/details/100517587](url)
   
   1. i installed elasticsearch6.5 in docker and visit http://localhost:9200/ to confirm it run well.
   2. i configed the elasticsearch part in application.yml as follow:
   ```
   storage:
     elasticsearch:
       nameSpace: ${SW_NAMESPACE:"docker-cluster"}
       clusterNodes: ${SW_STORAGE_ES_CLUSTER_NODES:localhost:9200}
   ```
   
   3. then i ran startup.sh and got webapp startup well, but oapserver started failed, the error log as follow:
   ```
   2019-10-07 11:25:13,626 - org.apache.skywalking.oap.server.library.module.ModuleDefine - 88 [main] INFO  [] - Prepare the elasticsearch provider in storage module.
   2019-10-07 11:25:13,720 - org.apache.skywalking.oap.server.library.module.ModuleDefine - 88 [main] INFO  [] - Prepare the standalone provider in cluster module.
   2019-10-07 11:25:13,721 - org.apache.skywalking.oap.server.library.module.ModuleDefine - 88 [main] INFO  [] - Prepare the default provider in core module.
   2019-10-07 11:25:14,335 - org.apache.skywalking.oap.server.starter.OAPServerStartUp - 55 [main] ERROR [] - ScopeDefine name = All not found.
   org.apache.skywalking.oap.server.library.module.ModuleStartException: ScopeDefine name = All not found.
   	at org.apache.skywalking.oap.server.core.CoreModuleProvider.prepare(CoreModuleProvider.java:95) ~[server-core-6.3.0.jar:6.3.0]
   	at org.apache.skywalking.oap.server.library.module.ModuleDefine.prepare(ModuleDefine.java:94) ~[library-module-6.3.0.jar:6.3.0]
   	at org.apache.skywalking.oap.server.library.module.ModuleManager.init(ModuleManager.java:52) ~[library-module-6.3.0.jar:6.3.0]
   	at org.apache.skywalking.oap.server.starter.OAPServerStartUp.main(OAPServerStartUp.java:43) [server-starter-6.3.0.jar:6.3.0]
   Caused by: org.apache.skywalking.oap.server.core.UnexpectedException: ScopeDefine name = All not found.
   	at org.apache.skywalking.oap.server.core.source.DefaultScopeDefine.valueOf(DefaultScopeDefine.java:127) ~[server-core-6.3.0.jar:6.3.0]
   	at org.apache.skywalking.oal.rt.parser.OALListener.enterSource(OALListener.java:52) ~[oal-rt-6.3.0.jar:6.3.0]
   	at org.apache.skywalking.oal.rt.grammar.OALParser$SourceContext.enterRule(OALParser.java:605) ~[oal-grammar-6.3.0.jar:6.3.0]
   	at org.antlr.v4.runtime.tree.ParseTreeWalker.enterRule(ParseTreeWalker.java:42) ~[antlr4-runtime-4.7.1.jar:4.7.1]
   	at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:25) ~[antlr4-runtime-4.7.1.jar:4.7.1]
   	at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:28) ~[antlr4-runtime-4.7.1.jar:4.7.1]
   	at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:28) ~[antlr4-runtime-4.7.1.jar:4.7.1]
   	at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:28) ~[antlr4-runtime-4.7.1.jar:4.7.1]
   	at org.apache.skywalking.oal.rt.parser.ScriptParser.parse(ScriptParser.java:61) ~[oal-rt-6.3.0.jar:6.3.0]
   	at org.apache.skywalking.oal.rt.OALRuntime.start(OALRuntime.java:159) ~[oal-rt-6.3.0.jar:6.3.0]
   	at org.apache.skywalking.oap.server.core.CoreModuleProvider.prepare(CoreModuleProvider.java:93) ~[server-core-6.3.0.jar:6.3.0]
   	... 3 more
   ```
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services