You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/12/24 04:13:03 UTC

[GitHub] [shardingsphere] tristaZero commented on issue #8711: Proxy with governance can't work if there's no config file

tristaZero commented on issue #8711:
URL: https://github.com/apache/shardingsphere/issues/8711#issuecomment-750731624


   Hi @tuohai666 @terrymanu ,
   
   I gave it a try, and indeed there was an exception like below,
   ```
   Exception in thread "main" org.apache.shardingsphere.infra.config.exception.ShardingSphereConfigurationException: Can not find any configured data sources and database frontend protocol type.
   	at org.apache.shardingsphere.proxy.frontend.protocol.FrontDatabaseProtocolTypeFactory.getDatabaseType(FrontDatabaseProtocolTypeFactory.java:47)
   	at org.apache.shardingsphere.proxy.frontend.ShardingSphereProxy.initServerBootstrap(ShardingSphereProxy.java:84)
   	at org.apache.shardingsphere.proxy.frontend.ShardingSphereProxy.start(ShardingSphereProxy.java:59)
   	at org.apache.shardingsphere.proxy.initializer.impl.AbstractBootstrapInitializer.init(AbstractBootstrapInitializer.java:66)
   	at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:48)
   
   ```
   
   I also tried to locate the cause and found @terrymanu did some changes recently. So could you look at `FrontDatabaseProtocolTypeFactory.java:47`?


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