[
https://issues.apache.org/jira/browse/SCB-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460461#comment-16460461
]
Willem Jiang commented on SCB-86:
---------------------------------
I copy [~Bo Li] just copy the description from github issue, we need to verify
if the bug is still there.
[~zhengyangyong] Do you mind take a look at it?
> can not find handler :tracing-provider
> --------------------------------------
>
> Key: SCB-86
> URL: https://issues.apache.org/jira/browse/SCB-86
> Project: Apache ServiceComb
> Issue Type: Bug
> Components: Java-Chassis
> Reporter: Bo Li
> Priority: Major
>
> {code}java.lang.Error: can not find handler: tracing-project {code} error
> occurs when runing bmi distributed tracing demo.
> microservice.yaml configuration is:
> {code}
> APPLICATION_ID: bmi
> service_description:
> # name of the declaring microservice
> name: calculator
> version: 0.0.1
> cse:
> service:
> registry:
> address: http://127.0.0.1:30100
> rest:
> address: 0.0.0.0:7777
> handler:
> chain:
> Provider:
> default: tracing-provider
> {code}
> exception throwed when runing CalculationApplication:
> {code}
> 2017-09-19 11:57:28,586 [ERROR] Application startup failed
> org.springframework.boot.SpringApplication.reportFailure(SpringApplication.java:840)
> java.lang.Error: can not find handler :tracing-provider
> at
> io.servicecomb.core.handler.AbstractHandlerManager.convertToChainClass(AbstractHandlerManager.java:68)
> ~[java-chassis-core-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.core.handler.AbstractHandlerManager.createHandlerChain(AbstractHandlerManager.java:82)
> ~[java-chassis-core-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.core.handler.AbstractHandlerManager.create(AbstractHandlerManager.java:110)
> ~[java-chassis-core-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.core.handler.AbstractHandlerManager.create(AbstractHandlerManager.java:32)
> ~[java-chassis-core-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.foundation.common.AbstractObjectManager.getOrCreate(AbstractObjectManager.java:36)
> ~[foundation-common-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.core.definition.loader.SchemaLoader.registerSchema(SchemaLoader.java:94)
> ~[java-chassis-core-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.core.definition.schema.ProducerSchemaFactory.createSchema(ProducerSchemaFactory.java:112)
> ~[java-chassis-core-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.core.definition.schema.ProducerSchemaFactory.createSchema(ProducerSchemaFactory.java:42)
> ~[java-chassis-core-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.core.definition.schema.AbstractSchemaFactory.getOrCreateSchema(AbstractSchemaFactory.java:59)
> ~[java-chassis-core-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.core.definition.schema.ProducerSchemaFactory.getOrCreateProducerSchema(ProducerSchemaFactory.java:75)
> ~[java-chassis-core-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.provider.rest.common.RestProducerProvider.init(RestProducerProvider.java:48)
> ~[provider-rest-common-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.core.provider.producer.ProducerProviderManager.init(ProducerProviderManager.java:43)
> ~[java-chassis-core-0.3.0-SNAPSHOT.jar:?]
> at
> io.servicecomb.core.CseApplicationListener.onApplicationEvent(CseApplicationListener.java:113)
> ~[java-chassis-core-0.3.0-SNAPSHOT.jar:?]
> at
> org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
> ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]
> at
> org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
> ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]
> at
> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:383)
> ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]
> at
> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:337)
> ~[spring-context-4.3.4.RELEASE.jar:4.3.4.RELEASE]
> at
> org.springframework.boot.context.event.EventPublishingRunListener.finished(EventPublishingRunListener.java:99)
> ~[spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at
> org.springframework.boot.SpringApplicationRunListeners.callFinishedListener(SpringApplicationRunListeners.java:79)
> ~[spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at
> org.springframework.boot.SpringApplicationRunListeners.finished(SpringApplicationRunListeners.java:72)
> ~[spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at
> org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at
> org.springframework.boot.SpringApplication.run(SpringApplication.java:1187)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at
> org.springframework.boot.SpringApplication.run(SpringApplication.java:1176)
> [spring-boot-1.4.5.RELEASE.jar:1.4.5.RELEASE]
> at
> io.servicecomb.samples.bmi.CalculatorApplication.main(CalculatorApplication.java:29)
> [classes/:?]
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)