Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动manger或者worker都会警告properties路径不存在 #20

Open
aloooha opened this issue Jul 29, 2019 · 0 comments
Open

启动manger或者worker都会警告properties路径不存在 #20

aloooha opened this issue Jul 29, 2019 · 0 comments

Comments

@aloooha
Copy link

aloooha commented Jul 29, 2019

2019-07-29 10:25:18.013 [main] WARN o.s.b.factory.config.PreferencesPlaceholderConfigurer - Could not load properties from class path resource [con
f/datasource.properties]: class path resource [conf/datasource.properties] cannot be opened because it does not exist
2019-07-29 10:25:18.013 [main] WARN o.s.b.factory.config.PreferencesPlaceholderConfigurer - Could not load properties from class path resource [con
f/biz.properties]: class path resource [conf/biz.properties] cannot be opened because it does not exist
2019-07-29 10:25:18.013 [main] WARN o.s.b.factory.config.PreferencesPlaceholderConfigurer - Could not load properties from class path resource [con
f/extend.properties]: class path resource [conf/extend.properties] cannot be opened because it does not exist

这个警告有影响吗?

还有一个问题是:
2019-04-25 15:16:23.643 [main] ERROR com.ucar.datalink.common.utils.DbConfigEncryption - something goes wrong when decrypt
在配置中我使用的明文密码,应该是不需要解密的,这个报错应该不影响吗?

最后一个问题是“worker启动的时候,client.id,要么从本地配置文件获取,要么从数据库通过ip反向查询”,但是:我在manger端配置的时候用的公网IP,而worker启动的时候IP反向查询时自动用的是局域网IP(192开头的),导致数据库中反向查询不到,这个有什么办法解决?
[main] ERROR com.ucar.datalink.worker.core.boot.WorkerBootStrap - ## Something goes wrong when starting up the datalink work
er:
com.ucar.datalink.common.errors.DatalinkException: Worker is not found for client id [null] or ip [192...*]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant