-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
一个tomcat下部署多个war,导致app.id相同 #2921
Comments
可以看下environment中的property sources,里面应该有app.id |
应该是让你看一下 spring 的 |
这个就是你配置的 |
你先看下 com.ctrip.framework.apollo.spring.boot.ApolloApplicationContextInitializer#fillSystemPropertyFromEnvironment 这个逻辑 |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in 14 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 14 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions. |
The same problem meet with sofa-ark |
2020-02-09 15:26:39.244 [main] INFO com.ctrip.framework.foundation.internals.provider.DefaultApplicationProvider 85 initAppId - App ID is set to [....] by app.id property from System Property
两个应用都被System Property设置成其中一个应用的app.id,之前是使用application.yml的方式配置的app.id,看了文档说这种方式不适用于一个tomcat下多个war,已经改成app.properties,但是app.id仍然没有修改过来,请教
The text was updated successfully, but these errors were encountered: