-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Property "env" for registry.conf conflicted with Apollo property "env". #1209
Comments
Thanks for reporting.i will check. |
In fact, the parameters passed in through - D are only valid for the current virtual machine process. |
C:\SOFT\Java64\jdk1.8.0_131\bin\java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:53988,suspend=y,server=n -Dmaven.multiModuleProjectDirectory=C:\WORKSPACE\eluyun-parent\eluyun-webserver -Dspring.profiles.active=redis-single -Denv=dev -Didc=profile-sxw -Dapollo.cacheDir=c:\opt\data\ -Dapollo.configService=http://127.0.0.1:8080 "-Dmaven.home=C:\SOFT\Jetbrains\IntelliJ IDEA 2017.1.5\plugins\maven\lib\maven3" -Didea.modules.paths.file=C:\SOFT\Jetbrains.IntelliJIdea2017.1\system\Maven\idea-projects-state-f5ef8187.properties -Dclassworlds.conf=C:\Users\sxw\AppData\Local\Temp\idea-8701-mvn.conf -Dfile.encoding=UTF-8 -classpath "C:\SOFT\Jetbrains\IntelliJ IDEA 2017.1.5\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar;C:\SOFT\Jetbrains\IntelliJ IDEA 2017.1.5\lib\idea_rt.jar" org.codehaus.classworlds.Launcher -Didea.version=2017.1.5 -s C:\SOFT\apache-maven-3.3.3\conf\settings.xml clean tomcat7:run -P local |
I copied bootstrap cmd from console. |
Please refer the wiki here https://github.com/seata/seata/wiki/Multi-configuration-Isolation
e.g.(Linux)
#vi /etc/profile
export SEATA_CONFIG_ENV=test
:wq
#source /etc/profile |
Thanks. It's ok in the most situation although the different env in the only server maybe have the same problem. In fact ,we have two envs in the same server for now.Perhaps we should apply for another server : ) . |
You can start the seata-server like this |
Sorry, I mean the application env,not seata server env. |
OK.I got it.I will improve it. |
I've made a PR to improve this problem. |
Why you need it?
Property name "env" for registry.conf conflicted with Apollo bootsrap property name "env".
How it could be?
Unique property name,like seata-env.
Other related information
The text was updated successfully, but these errors were encountered: