zhuyifeiRuichuang opened a new issue, #1084:
URL: https://github.com/apache/incubator-seata-website/issues/1084

   In the document 
,`https://seata.apache.org/zh-cn/docs/ops/deploy-by-docker-compose/#nacos-db`  
,when i chose the `Nacos Registration Center, db Storage`,    Requesting the 
developer to improve the documentation so that the steps can be correctly 
reproduced.
   ```bash
        ... 32 common frames omitted
   Caused by: org.apache.seata.common.loader.EnhancedServiceNotFoundException: 
not found service provider for : org.apache.seata.server.lock.LockManager 
caused by java.lang.IllegalStateException: Extension instance(definition: 
org.apache.seata.common.loader.ExtensionDefinition@bd892149, class: interface 
org.apache.seata.server.lock.LockManager)  could not be instantiated: the name 
of service provider for [org.apache.seata.core.store.db.DataSourceProvider] 
name is null
        at 
org.apache.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader.createNewExtension(EnhancedServiceLoader.java:501)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader.getExtensionInstance(EnhancedServiceLoader.java:482)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader.loadExtension(EnhancedServiceLoader.java:458)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader.load(EnhancedServiceLoader.java:351)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader.access$200(EnhancedServiceLoader.java:282)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader.load(EnhancedServiceLoader.java:122)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader.load(EnhancedServiceLoader.java:106)
        at 
org.apache.seata.server.lock.LockerManagerFactory.init(LockerManagerFactory.java:70)
        at 
org.apache.seata.server.lock.LockerManagerFactory.init(LockerManagerFactory.java:53)
        at 
org.apache.seata.server.lock.LockerManagerFactory.getLockManager(LockerManagerFactory.java:48)
        at 
org.apache.seata.server.console.impl.AbstractService.<init>(AbstractService.java:45)
        at 
org.apache.seata.server.console.impl.AbstractBranchService.<init>(AbstractBranchService.java:27)
        at 
org.apache.seata.server.console.impl.db.BranchSessionDBServiceImpl.<init>(BranchSessionDBServiceImpl.java:60)
        at 
org.apache.seata.server.console.impl.db.BranchSessionDBServiceImpl$$EnhancerBySpringCGLIB$$2743811b.<init>(<generated>)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:213)
        at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1326)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
        at 
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:548)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:524)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:677)
        at 
org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:228)
        at 
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
        at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:329)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591)
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:409)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1289)
        at 
org.apache.seata.server.ServerApplication.main(ServerApplication.java:30)
   Caused by: java.lang.IllegalArgumentException: the name of service provider 
for [org.apache.seata.core.store.db.DataSourceProvider] name is null
        at 
org.apache.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader.loadExtension(EnhancedServiceLoader.java:453)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader.load(EnhancedServiceLoader.java:351)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader.access$200(EnhancedServiceLoader.java:282)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader.load(EnhancedServiceLoader.java:122)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader.load(EnhancedServiceLoader.java:106)
        at 
org.apache.seata.server.storage.db.lock.DataBaseLockManager.init(DataBaseLockManager.java:50)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader.initInstance(EnhancedServiceLoader.java:730)
        at 
org.apache.seata.common.loader.EnhancedServiceLoader$InnerEnhancedServiceLoader.createNewExtension(EnhancedServiceLoader.java:497)
        ... 52 more
   
    <==
   08:34:17.683  WARN --- [                Thread-10] 
[cos.common.notify.NotifyCenter] [            shutdown]  [] : [NotifyCenter] 
Start destroying Publisher
   08:34:17.684  WARN --- [                Thread-10] 
[cos.common.notify.NotifyCenter] [            shutdown]  [] : [NotifyCenter] 
Destruction of the end
   08:34:17.684  WARN --- [                 Thread-5] 
[mmon.http.HttpClientBeanHolder] [            shutdown]  [] : 
[HttpClientBeanHolder] Start destroying common HttpClient
   root@test:/data/seata# 
   
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to