You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2018/05/02 02:58:00 UTC

[jira] [Assigned] (SCB-86) can not find handler :tracing-provider

     [ https://issues.apache.org/jira/browse/SCB-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang reassigned SCB-86:
-------------------------------

    Assignee: yangyongzheng

> 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
>            Assignee: yangyongzheng
>            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)