Comments (8)
2014-08-06 16:09:35,817 [main] ERROR com.baidu.disconf.client.store.processor.impl.DisconfStoreFileProcessorImpl
- cannot find redis.host to be injectd. file content is: {port=8080, host=127.0.0.1}
from disconf.
@lvhongye hi, 你启动了disconf-web了吗
disconf-client会去disconf-web上下载分布式配置
你可以将你的详细情况写下
from disconf.
2014-08-08 13:55:19,542 [main] INFO com.baidu.disconf.client.DisconfMgr
- ******************************* DISCONF START FIRST SCAN *******************************
2014-08-08 13:55:19,545 [main] INFO com.baidu.disconf.client.config.ConfigMgr
- --------------- LOAD CONFIG START ---------------
2014-08-08 13:55:19,598 [main] INFO com.baidu.disconf.client.config.ConfigMgr
- Finer print: PC201406101026_0_be61b5d7-24de-4ea1-9a9c-2044f0b7623e
2014-08-08 13:55:19,611 [main] INFO com.baidu.disconf.client.config.inner.DisInnerConfigHelper
- SERVER conf_server_host: [127.0.0.1:8081]
2014-08-08 13:55:19,611 [main] INFO com.baidu.disconf.client.config.inner.DisInnerConfigHelper
- SERVER version: 1_0_0_0
2014-08-08 13:55:19,611 [main] INFO com.baidu.disconf.client.config.inner.DisInnerConfigHelper
- SERVER APP: disconf_demo
2014-08-08 13:55:19,611 [main] INFO com.baidu.disconf.client.config.inner.DisInnerConfigHelper
- SERVER ENV: rd
2014-08-08 13:55:19,611 [main] INFO com.baidu.disconf.client.config.inner.DisInnerConfigHelper
- SERVER ENABLE_REMOTE_CONF: true
2014-08-08 13:55:19,611 [main] INFO com.baidu.disconf.client.config.ConfigMgr
- --------------- LOAD CONFIG END ---------------
2014-08-08 13:55:19,712 [main] INFO org.reflections.Reflections
- Reflections took 61 ms to scan 1 urls, producing 19 keys and 117 values
2014-08-08 13:55:19,862 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- start to query url : http://127.0.0.1:8081/api/zoo/hosts
2014-08-08 13:55:20,245 [main] INFO com.baidu.disconf.client.fetcher.FetcherMgr
- remote server return: ValueVo [status=1, message=, value=192.168.1.202:2181,127.0.0.1:2181]
2014-08-08 13:55:20,257 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:zookeeper.version=3.3.6-1366786, built on 07/29/2012 06:22 GMT
2014-08-08 13:55:20,257 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:host.name=PC201406101026
2014-08-08 13:55:20,257 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.version=1.7.0_60
2014-08-08 13:55:20,257 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.vendor=Oracle Corporation
2014-08-08 13:55:20,257 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.home=D:\Java\jdk1.7.0_60\jre
2014-08-08 13:55:20,258 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.class.path=E:\workspace\disconf\disconf-demos\disconf-standalone-demo\target\classes;D:\maven\repository\org\reflections\reflections\0.9.9-RC1\reflections-0.9.9-RC1.jar;D:\maven\repository\com\google\guava\guava\11.0.2\guava-11.0.2.jar;D:\maven\repository\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;D:\maven\repository\org\javassist\javassist\3.16.1-GA\javassist-3.16.1-GA.jar;D:\maven\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;D:\maven\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;D:\maven\repository\org\apache\zookeeper\zookeeper\3.3.6\zookeeper-3.3.6.jar;D:\maven\repository\jline\jline\0.9.94\jline-0.9.94.jar;D:\maven\repository\commons-io\commons-io\1.4\commons-io-1.4.jar;D:\maven\repository\commons-lang\commons-lang\2.4\commons-lang-2.4.jar;D:\maven\repository\ch\qos\logback\logback-classic\1.0.7\logback-classic-1.0.7.jar;D:\maven\repository\ch\qos\logback\logback-core\1.0.7\logback-core-1.0.7.jar;D:\maven\repository\org\slf4j\jcl-over-slf4j\1.6.6\jcl-over-slf4j-1.6.6.jar;D:\maven\repository\org\slf4j\log4j-over-slf4j\1.7.7\log4j-over-slf4j-1.7.7.jar;D:\maven\repository\org\slf4j\slf4j-api\1.7.0\slf4j-api-1.7.0.jar;D:\maven\repository\org\osgi\org.osgi.core\4.2.0\org.osgi.core-4.2.0.jar;D:\maven\repository\javax\ws\rs\javax.ws.rs-api\2.0-rc1\javax.ws.rs-api-2.0-rc1.jar;D:\maven\repository\javax\annotation\javax.annotation-api\1.2-b02\javax.annotation-api-1.2-b02.jar;D:\maven\repository\org\glassfish\jersey\core\jersey-client\2.0-m13\jersey-client-2.0-m13.jar;D:\maven\repository\org\glassfish\jersey\core\jersey-common\2.0-m13\jersey-common-2.0-m13.jar;D:\maven\repository\org\glassfish\hk2\hk2-api\2.1.64\hk2-api-2.1.64.jar;D:\maven\repository\org\glassfish\hk2\osgi-resource-locator\1.0.1\osgi-resource-locator-1.0.1.jar;D:\maven\repository\javax\inject\javax.inject\1\javax.inject-1.jar;D:\maven\repository\org\glassfish\hk2\hk2-utils\2.1.64\hk2-utils-2.1.64.jar;D:\maven\repository\org\glassfish\hk2\hk2-locator\2.1.64\hk2-locator-2.1.64.jar;D:\maven\repository\org\glassfish\hk2\external\javax.inject\2.1.64\javax.inject-2.1.64.jar;D:\maven\repository\org\glassfish\hk2\external\asm-all-repackaged\2.1.64\asm-all-repackaged-2.1.64.jar;D:\maven\repository\org\glassfish\hk2\external\cglib\2.1.64\cglib-2.1.64.jar;D:\maven\repository\org\glassfish\jersey\media\jersey-media-json-jackson\2.0-m13\jersey-media-json-jackson-2.0-m13.jar;D:\maven\repository\org\codehaus\jackson\jackson-core-asl\1.9.8\jackson-core-asl-1.9.8.jar;D:\maven\repository\org\codehaus\jackson\jackson-mapper-asl\1.9.8\jackson-mapper-asl-1.9.8.jar;D:\maven\repository\org\codehaus\jackson\jackson-jaxrs\1.9.8\jackson-jaxrs-1.9.8.jar;D:\maven\repository\org\codehaus\jackson\jackson-xc\1.9.8\jackson-xc-1.9.8.jar;D:\maven\repository\redis\clients\jedis\2.1.0\jedis-2.1.0.jar;D:\maven\repository\commons-pool\commons-pool\1.5.5\commons-pool-1.5.5.jar;D:\maven\repository\org\springframework\spring-context\3.2.6.RELEASE\spring-context-3.2.6.RELEASE.jar;D:\maven\repository\org\springframework\spring-aop\3.2.6.RELEASE\spring-aop-3.2.6.RELEASE.jar;D:\maven\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;D:\maven\repository\org\springframework\spring-beans\3.2.6.RELEASE\spring-beans-3.2.6.RELEASE.jar;D:\maven\repository\org\springframework\spring-core\3.2.6.RELEASE\spring-core-3.2.6.RELEASE.jar;D:\maven\repository\org\springframework\spring-expression\3.2.6.RELEASE\spring-expression-3.2.6.RELEASE.jar;D:\maven\repository\com\baidu\disconf\disconf-client\2.6.2\disconf-client-2.6.2.jar;D:\maven\repository\com\baidu\disconf\disconf-core\2.5.0\disconf-core-2.5.0.jar;D:\maven\repository\javax\mail\mail\1.4.7\mail-1.4.7.jar;D:\maven\repository\javax\activation\activation\1.1\activation-1.1.jar;D:\maven\repository\org\aspectj\aspectjtools\1.7.4\aspectjtools-1.7.4.jar;D:\maven\repository\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar
2014-08-08 13:55:20,258 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.library.path=D:\Java\jdk1.7.0_60\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;D:\maven3.2.1\bin;C:\Windows;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;.
2014-08-08 13:55:20,258 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.io.tmpdir=C:\Users\ADMINI~1\AppData\Local\Temp
2014-08-08 13:55:20,258 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.compiler=
2014-08-08 13:55:20,258 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:os.name=Windows 7
2014-08-08 13:55:20,258 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:os.arch=amd64
2014-08-08 13:55:20,258 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:os.version=6.1
2014-08-08 13:55:20,258 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:user.name=Administrator
2014-08-08 13:55:20,258 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:user.home=C:\Users\Administrator
2014-08-08 13:55:20,258 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:user.dir=E:\workspace\disconf\disconf-demos\disconf-standalone-demo
2014-08-08 13:55:20,259 [main] INFO org.apache.zookeeper.ZooKeeper
- Initiating client connection, connectString=192.168.1.202:2181,127.0.0.1:2181 sessionTimeout=5000 watcher=com.baidu.disconf.core.common.zookeeper.inner.ResilientActiveKeyValueStore@f981c4f
2014-08-08 13:55:20,275 [main-SendThread()] INFO org.apache.zookeeper.ClientCnxn
- Opening socket connection to server /192.168.1.202:2181
2014-08-08 13:55:30,580 [main-SendThread(192.168.1.202:2181)] INFO org.apache.zookeeper.ClientCnxn
- Socket connection established to 192.168.1.202/192.168.1.202:2181, initiating session
2014-08-08 13:55:30,602 [main-SendThread(192.168.1.202:2181)] INFO org.apache.zookeeper.ClientCnxn
- Session establishment complete on server 192.168.1.202/192.168.1.202:2181, sessionid = 0x14756aa9a0c00c1, negotiated timeout = 5000
2014-08-08 13:55:30,606 [main] INFO com.baidu.disconf.core.common.zookeeper.inner.ConnectionWatcher
- zookeeper: 192.168.1.202:2181,127.0.0.1:2181 , connected.
2014-08-08 13:55:30,624 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to process disconf file: remote.properties =============================
2014-08-08 13:55:30,628 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- start to download. From: http://127.0.0.1:8081/api/config/file?app=disconf_demo&env=rd&type=0&key=remote.properties&version=1_0_0_0 , TO: E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\remote.properties
2014-08-08 13:55:31,161 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- download success! E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\remote.properties
2014-08-08 13:55:31,163 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- Move to: E:\workspace\disconf\disconf-demos\disconf-standalone-demo\target\classes\remote.properties
2014-08-08 13:55:31,164 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- remoteHost=127.0.0.1
2014-08-08 13:55:31,164 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- remotePort=8080
2014-08-08 13:55:31,220 [main] INFO com.baidu.disconf.client.watch.inner.NodeWatcher
- monitor path: (/disconf/disconf_demo_1_0_0_0_rd/file/remote.properties,remote.properties,配置文件) has been added!
2014-08-08 13:55:31,220 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to process disconf file: coefficients.properties =============================
2014-08-08 13:55:31,221 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- start to download. From: http://127.0.0.1:8081/api/config/file?app=disconf_demo&env=rd&type=0&key=coefficients.properties&version=1_0_0_0 , TO: E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\coefficients.properties
2014-08-08 13:55:31,230 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- download success! E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\coefficients.properties
2014-08-08 13:55:31,232 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- Move to: E:\workspace\disconf\disconf-demos\disconf-standalone-demo\target\classes\coefficients.properties
2014-08-08 13:55:31,233 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- baiFaCoe=1.3
2014-08-08 13:55:31,233 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- yuErBaoCoe=1.2
2014-08-08 13:55:31,233 [main] ERROR com.baidu.disconf.client.store.processor.impl.DisconfStoreFileProcessorImpl
- cannot find coe.baiFaCoe to be injectd. file content is: {baiFaCoe=1.3, yuErBaoCoe=1.2}
2014-08-08 13:55:31,233 [main] ERROR com.baidu.disconf.client.store.processor.impl.DisconfStoreFileProcessorImpl
- cannot find coe.yuErBaoCoe to be injectd. file content is: {baiFaCoe=1.3, yuErBaoCoe=1.2}
2014-08-08 13:55:31,249 [main] INFO com.baidu.disconf.client.watch.inner.NodeWatcher
- monitor path: (/disconf/disconf_demo_1_0_0_0_rd/file/coefficients.properties,coefficients.properties,配置文件) has been added!
2014-08-08 13:55:31,249 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to process disconf file: redis.properties =============================
2014-08-08 13:55:31,250 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- start to download. From: http://127.0.0.1:8081/api/config/file?app=disconf_demo&env=rd&type=0&key=redis.properties&version=1_0_0_0 , TO: E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\redis.properties
2014-08-08 13:55:31,258 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- download success! E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\redis.properties
2014-08-08 13:55:31,261 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- Move to: E:\workspace\disconf\disconf-demos\disconf-standalone-demo\target\classes\redis.properties
2014-08-08 13:55:31,261 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- port=8080
2014-08-08 13:55:31,261 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- host=127.0.0.1
2014-08-08 13:55:31,262 [main] ERROR com.baidu.disconf.client.store.processor.impl.DisconfStoreFileProcessorImpl
- cannot find redis.host to be injectd. file content is: {port=8080, host=127.0.0.1}
2014-08-08 13:55:31,262 [main] ERROR com.baidu.disconf.client.store.processor.impl.DisconfStoreFileProcessorImpl
- cannot find redis.port to be injectd. file content is: {port=8080, host=127.0.0.1}
2014-08-08 13:55:31,274 [main] INFO com.baidu.disconf.client.watch.inner.NodeWatcher
- monitor path: (/disconf/disconf_demo_1_0_0_0_rd/file/redis.properties,redis.properties,配置文件) has been added!
2014-08-08 13:55:31,274 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to process disconf item: moneyInvest =============================
2014-08-08 13:55:31,274 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- start to query url : http://127.0.0.1:8081/api/config/item?app=disconf_demo&env=rd&type=1&key=moneyInvest&version=1_0_0_0
2014-08-08 13:55:31,292 [main] INFO com.baidu.disconf.client.fetcher.FetcherMgr
- remote server return: ValueVo [status=1, message=, value=10000]
2014-08-08 13:55:31,293 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- value: 10000
2014-08-08 13:55:31,343 [main] INFO com.baidu.disconf.client.watch.inner.NodeWatcher
- monitor path: (/disconf/disconf_demo_1_0_0_0_rd/item/moneyInvest,moneyInvest,配置项) has been added!
2014-08-08 13:55:31,343 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to process disconf item: discountRate =============================
2014-08-08 13:55:31,343 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- start to query url : http://127.0.0.1:8081/api/config/item?app=disconf_demo&env=rd&type=1&key=discountRate&version=1_0_0_0
2014-08-08 13:55:31,363 [main] INFO com.baidu.disconf.client.fetcher.FetcherMgr
- remote server return: ValueVo [status=1, message=, value=8]
2014-08-08 13:55:31,363 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- value: 8
2014-08-08 13:55:31,391 [main] INFO com.baidu.disconf.client.watch.inner.NodeWatcher
- monitor path: (/disconf/disconf_demo_1_0_0_0_rd/item/discountRate,discountRate,配置项) has been added!
2014-08-08 13:55:31,821 [main] INFO com.baidu.disconf.client.DisconfMgr
- ******************************* DISCONF START SECOND SCAN *******************************
2014-08-08 13:55:31,828 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: remote.properties (remoteHost , 127.0.0.1)
2014-08-08 13:55:31,828 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: remote.properties (remoteHost , 127.0.0.1)
2014-08-08 13:55:31,831 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to inject value to disconf file item instance: remote.properties =============================
2014-08-08 13:55:31,832 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to inject value to disconf file item instance: coefficients.properties =============================
2014-08-08 13:55:31,843 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to inject value to disconf file item instance: redis.properties =============================
2014-08-08 13:55:31,843 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to inject value to disconf item instance: moneyInvest =============================
2014-08-08 13:55:31,844 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to inject value to disconf item instance: discountRate =============================
2014-08-08 13:55:31,844 [main] INFO com.baidu.disconf.client.DisconfMgr
- Conf File Map: {remote.properties=DisconfCenterFile [keyMaps={remotePort=FileItemValue [value=8080, field=private int com.baidu.disconf.demo.config.RemoteServerConfig.remotePort], remoteHost=FileItemValue [value=127.0.0.1, field=private java.lang.String com.baidu.disconf.demo.config.RemoteServerConfig.remoteHost]}, cls=class com.baidu.disconf.demo.config.RemoteServerConfig, fileName=remote.properties, toString()=DisconfCenterBaseModel [object=com.baidu.disconf.demo.config.RemoteServerConfig@478f6f48, remoteServerUrl=/api/config/file?app=disconf_demo&env=rd&type=0&key=remote.properties&version=1_0_0_0, disConfCommonModel=DisConfCommonModel [app=disconf_demo, version=1_0_0_0, env=rd], disconfCommonCallbackModel=DisconfCommonCallbackModel [disconfConfUpdates=[com.baidu.disconf.demo.service.RemoteServiceUpdateCallback@19d304ac], disconfUpdatesActiveBackups=[]]]], coefficients.properties=DisconfCenterFile [keyMaps={coe.baiFaCoe=FileItemValue [value=0.0, field=private double com.baidu.disconf.demo.config.Coefficients.baiFaCoe], coe.yuErBaoCoe=FileItemValue [value=0.0, field=private double com.baidu.disconf.demo.config.Coefficients.yuErBaoCoe]}, cls=class com.baidu.disconf.demo.config.Coefficients, fileName=coefficients.properties, toString()=DisconfCenterBaseModel [object=com.baidu.disconf.demo.config.Coefficients@6cd7c572, remoteServerUrl=/api/config/file?app=disconf_demo&env=rd&type=0&key=coefficients.properties&version=1_0_0_0, disConfCommonModel=DisConfCommonModel [app=disconf_demo, version=1_0_0_0, env=rd], disconfCommonCallbackModel=DisconfCommonCallbackModel [disconfConfUpdates=[], disconfUpdatesActiveBackups=[]]]], redis.properties=DisconfCenterFile [keyMaps={redis.host=FileItemValue [value=null, field=private java.lang.String com.baidu.disconf.demo.config.JedisConfig.host], redis.port=FileItemValue [value=0, field=private int com.baidu.disconf.demo.config.JedisConfig.port]}, cls=class com.baidu.disconf.demo.config.JedisConfig, fileName=redis.properties, toString()=DisconfCenterBaseModel [object=com.baidu.disconf.demo.config.JedisConfig@49e3f731, remoteServerUrl=/api/config/file?app=disconf_demo&env=rd&type=0&key=redis.properties&version=1_0_0_0, disConfCommonModel=DisConfCommonModel [app=disconf_demo, version=1_0_0_0, env=rd], disconfCommonCallbackModel=DisconfCommonCallbackModel [disconfConfUpdates=[com.baidu.disconf.demo.service.SimpleRedisServiceUpdateCallback@1579d7dd], disconfUpdatesActiveBackups=[]]]]}
2014-08-08 13:55:31,844 [main] INFO com.baidu.disconf.client.DisconfMgr
- Conf Item Map: {moneyInvest=DisconfCenterItem [key=moneyInvest, value=10000.0, field=private java.lang.Double com.baidu.disconf.demo.service.BaoBaoService.moneyInvest, toString()=DisconfCenterBaseModel [object=com.baidu.disconf.demo.service.BaoBaoService@724af92e, remoteServerUrl=/api/config/item?app=disconf_demo&env=rd&type=1&key=moneyInvest&version=1_0_0_0, disConfCommonModel=DisConfCommonModel [app=disconf_demo, version=1_0_0_0, env=rd], disconfCommonCallbackModel=DisconfCommonCallbackModel [disconfConfUpdates=[], disconfUpdatesActiveBackups=[]]]], discountRate=DisconfCenterItem [key=discountRate, value=8.0, field=private java.lang.Double com.baidu.disconf.demo.config.Coefficients.discount, toString()=DisconfCenterBaseModel [object=com.baidu.disconf.demo.config.Coefficients@6cd7c572, remoteServerUrl=/api/config/item?app=disconf_demo&env=rd&type=1&key=discountRate&version=1_0_0_0, disConfCommonModel=DisConfCommonModel [app=disconf_demo, version=1_0_0_0, env=rd], disconfCommonCallbackModel=DisconfCommonCallbackModel [disconfConfUpdates=[com.baidu.disconf.demo.service.SimpleRedisServiceUpdateCallback@1579d7dd], disconfUpdatesActiveBackups=[]]]]}
2014-08-08 13:55:31,844 [main] INFO com.baidu.disconf.client.DisconfMgr
- ******************************* DISCONF END *******************************
2014-08-08 13:55:31,860 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: coefficients.properties (coe.baiFaCoe , 0.0)
2014-08-08 13:55:31,861 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: (discountRate , 8.0)
2014-08-08 13:55:31,861 [main] INFO com.baidu.disconf.demo.task.DisconfDemoTask
- baobao--baifa: 0.0
2014-08-08 13:55:31,861 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: coefficients.properties (coe.yuErBaoCoe , 0.0)
2014-08-08 13:55:31,862 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: (discountRate , 8.0)
2014-08-08 13:55:31,862 [main] INFO com.baidu.disconf.demo.task.DisconfDemoTask
- baobao--yuerbao: 0.0
2014-08-08 13:55:36,862 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: redis.properties (redis.port , 0)
2014-08-08 13:55:36,877 [main] ERROR com.baidu.disconf.demo.task.DisconfDemoTask
- java.lang.IllegalArgumentException: hostname can't be null
java.lang.IllegalArgumentException: hostname can't be null
at java.net.InetSocketAddress.checkHost(InetSocketAddress.java:149) ~[na:1.7.0_60]
at java.net.InetSocketAddress.(InetSocketAddress.java:216) ~[na:1.7.0_60]
at redis.clients.jedis.Connection.connect(Connection.java:129) ~[jedis-2.1.0.jar:na]
at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:69) ~[jedis-2.1.0.jar:na]
at redis.clients.jedis.Connection.sendCommand(Connection.java:79) ~[jedis-2.1.0.jar:na]
at redis.clients.jedis.Connection.sendCommand(Connection.java:75) ~[jedis-2.1.0.jar:na]
at redis.clients.jedis.Jedis.get(Jedis.java:66) ~[jedis-2.1.0.jar:na]
at com.baidu.disconf.demo.service.SimpleRedisService.getKey(SimpleRedisService.java:63) ~[classes/:na]
at com.baidu.disconf.demo.task.DisconfDemoTask.run(DisconfDemoTask.java:51) ~[classes/:na]
at com.baidu.disconf.demo.DisconfDemoMain.main(DisconfDemoMain.java:38) [classes/:na]
from disconf.
2014-08-08 13:57:39,674 [main] INFO com.baidu.disconf.client.DisconfMgr
- ******************************* DISCONF START FIRST SCAN *******************************
2014-08-08 13:57:39,677 [main] INFO com.baidu.disconf.client.config.ConfigMgr
- --------------- LOAD CONFIG START ---------------
2014-08-08 13:57:39,732 [main] INFO com.baidu.disconf.client.config.ConfigMgr
- Finer print: PC201406101026_0_ef9705c7-176a-4b07-bc55-a700505bc07d
2014-08-08 13:57:39,745 [main] INFO com.baidu.disconf.client.config.inner.DisInnerConfigHelper
- SERVER conf_server_host: [127.0.0.1:8081]
2014-08-08 13:57:39,746 [main] INFO com.baidu.disconf.client.config.inner.DisInnerConfigHelper
- SERVER version: 1_0_0_0
2014-08-08 13:57:39,746 [main] INFO com.baidu.disconf.client.config.inner.DisInnerConfigHelper
- SERVER APP: disconf_demo
2014-08-08 13:57:39,746 [main] INFO com.baidu.disconf.client.config.inner.DisInnerConfigHelper
- SERVER ENV: rd
2014-08-08 13:57:39,746 [main] INFO com.baidu.disconf.client.config.inner.DisInnerConfigHelper
- SERVER ENABLE_REMOTE_CONF: true
2014-08-08 13:57:39,746 [main] INFO com.baidu.disconf.client.config.ConfigMgr
- --------------- LOAD CONFIG END ---------------
2014-08-08 13:57:39,832 [main] INFO org.reflections.Reflections
- Reflections took 50 ms to scan 1 urls, producing 19 keys and 117 values
2014-08-08 13:57:39,983 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- start to query url : http://127.0.0.1:8081/api/zoo/hosts
2014-08-08 13:57:40,370 [main] INFO com.baidu.disconf.client.fetcher.FetcherMgr
- remote server return: ValueVo [status=1, message=, value=192.168.1.202:2181,127.0.0.1:2181]
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:zookeeper.version=3.3.6-1366786, built on 07/29/2012 06:22 GMT
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:host.name=PC201406101026
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.version=1.7.0_60
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.vendor=Oracle Corporation
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.home=D:\Java\jdk1.7.0_60\jre
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.class.path=E:\workspace\disconf\disconf-demos\disconf-standalone-demo\target\classes;D:\maven\repository\org\reflections\reflections\0.9.9-RC1\reflections-0.9.9-RC1.jar;D:\maven\repository\com\google\guava\guava\11.0.2\guava-11.0.2.jar;D:\maven\repository\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;D:\maven\repository\org\javassist\javassist\3.16.1-GA\javassist-3.16.1-GA.jar;D:\maven\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;D:\maven\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;D:\maven\repository\org\apache\zookeeper\zookeeper\3.3.6\zookeeper-3.3.6.jar;D:\maven\repository\jline\jline\0.9.94\jline-0.9.94.jar;D:\maven\repository\commons-io\commons-io\1.4\commons-io-1.4.jar;D:\maven\repository\commons-lang\commons-lang\2.4\commons-lang-2.4.jar;D:\maven\repository\ch\qos\logback\logback-classic\1.0.7\logback-classic-1.0.7.jar;D:\maven\repository\ch\qos\logback\logback-core\1.0.7\logback-core-1.0.7.jar;D:\maven\repository\org\slf4j\jcl-over-slf4j\1.6.6\jcl-over-slf4j-1.6.6.jar;D:\maven\repository\org\slf4j\log4j-over-slf4j\1.7.7\log4j-over-slf4j-1.7.7.jar;D:\maven\repository\org\slf4j\slf4j-api\1.7.0\slf4j-api-1.7.0.jar;D:\maven\repository\org\osgi\org.osgi.core\4.2.0\org.osgi.core-4.2.0.jar;D:\maven\repository\javax\ws\rs\javax.ws.rs-api\2.0-rc1\javax.ws.rs-api-2.0-rc1.jar;D:\maven\repository\javax\annotation\javax.annotation-api\1.2-b02\javax.annotation-api-1.2-b02.jar;D:\maven\repository\org\glassfish\jersey\core\jersey-client\2.0-m13\jersey-client-2.0-m13.jar;D:\maven\repository\org\glassfish\jersey\core\jersey-common\2.0-m13\jersey-common-2.0-m13.jar;D:\maven\repository\org\glassfish\hk2\hk2-api\2.1.64\hk2-api-2.1.64.jar;D:\maven\repository\org\glassfish\hk2\osgi-resource-locator\1.0.1\osgi-resource-locator-1.0.1.jar;D:\maven\repository\javax\inject\javax.inject\1\javax.inject-1.jar;D:\maven\repository\org\glassfish\hk2\hk2-utils\2.1.64\hk2-utils-2.1.64.jar;D:\maven\repository\org\glassfish\hk2\hk2-locator\2.1.64\hk2-locator-2.1.64.jar;D:\maven\repository\org\glassfish\hk2\external\javax.inject\2.1.64\javax.inject-2.1.64.jar;D:\maven\repository\org\glassfish\hk2\external\asm-all-repackaged\2.1.64\asm-all-repackaged-2.1.64.jar;D:\maven\repository\org\glassfish\hk2\external\cglib\2.1.64\cglib-2.1.64.jar;D:\maven\repository\org\glassfish\jersey\media\jersey-media-json-jackson\2.0-m13\jersey-media-json-jackson-2.0-m13.jar;D:\maven\repository\org\codehaus\jackson\jackson-core-asl\1.9.8\jackson-core-asl-1.9.8.jar;D:\maven\repository\org\codehaus\jackson\jackson-mapper-asl\1.9.8\jackson-mapper-asl-1.9.8.jar;D:\maven\repository\org\codehaus\jackson\jackson-jaxrs\1.9.8\jackson-jaxrs-1.9.8.jar;D:\maven\repository\org\codehaus\jackson\jackson-xc\1.9.8\jackson-xc-1.9.8.jar;D:\maven\repository\redis\clients\jedis\2.1.0\jedis-2.1.0.jar;D:\maven\repository\commons-pool\commons-pool\1.5.5\commons-pool-1.5.5.jar;D:\maven\repository\org\springframework\spring-context\3.2.6.RELEASE\spring-context-3.2.6.RELEASE.jar;D:\maven\repository\org\springframework\spring-aop\3.2.6.RELEASE\spring-aop-3.2.6.RELEASE.jar;D:\maven\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;D:\maven\repository\org\springframework\spring-beans\3.2.6.RELEASE\spring-beans-3.2.6.RELEASE.jar;D:\maven\repository\org\springframework\spring-core\3.2.6.RELEASE\spring-core-3.2.6.RELEASE.jar;D:\maven\repository\org\springframework\spring-expression\3.2.6.RELEASE\spring-expression-3.2.6.RELEASE.jar;D:\maven\repository\com\baidu\disconf\disconf-client\2.6.2\disconf-client-2.6.2.jar;D:\maven\repository\com\baidu\disconf\disconf-core\2.5.0\disconf-core-2.5.0.jar;D:\maven\repository\javax\mail\mail\1.4.7\mail-1.4.7.jar;D:\maven\repository\javax\activation\activation\1.1\activation-1.1.jar;D:\maven\repository\org\aspectj\aspectjtools\1.7.4\aspectjtools-1.7.4.jar;D:\maven\repository\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.library.path=D:\Java\jdk1.7.0_60\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;D:\maven3.2.1\bin;C:\Windows;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;.
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.io.tmpdir=C:\Users\ADMINI~1\AppData\Local\Temp
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:java.compiler=
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:os.name=Windows 7
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:os.arch=amd64
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:os.version=6.1
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:user.name=Administrator
2014-08-08 13:57:40,383 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:user.home=C:\Users\Administrator
2014-08-08 13:57:40,384 [main] INFO org.apache.zookeeper.ZooKeeper
- Client environment:user.dir=E:\workspace\disconf\disconf-demos\disconf-standalone-demo
2014-08-08 13:57:40,384 [main] INFO org.apache.zookeeper.ZooKeeper
- Initiating client connection, connectString=192.168.1.202:2181,127.0.0.1:2181 sessionTimeout=5000 watcher=com.baidu.disconf.core.common.zookeeper.inner.ResilientActiveKeyValueStore@bc57a5f
2014-08-08 13:57:40,400 [main-SendThread()] INFO org.apache.zookeeper.ClientCnxn
- Opening socket connection to server /127.0.0.1:2181
2014-08-08 13:57:40,402 [main-SendThread(pro.letv.com:2181)] INFO org.apache.zookeeper.ClientCnxn
- Socket connection established to pro.letv.com/127.0.0.1:2181, initiating session
2014-08-08 13:57:40,479 [main-SendThread(pro.letv.com:2181)] INFO org.apache.zookeeper.ClientCnxn
- Session establishment complete on server pro.letv.com/127.0.0.1:2181, sessionid = 0x147b42bcdf80002, negotiated timeout = 5000
2014-08-08 13:57:40,483 [main] INFO com.baidu.disconf.core.common.zookeeper.inner.ConnectionWatcher
- zookeeper: 192.168.1.202:2181,127.0.0.1:2181 , connected.
2014-08-08 13:57:40,496 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to process disconf file: remote.properties =============================
2014-08-08 13:57:40,499 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- start to download. From: http://127.0.0.1:8081/api/config/file?app=disconf_demo&env=rd&type=0&key=remote.properties&version=1_0_0_0 , TO: E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\remote.properties
2014-08-08 13:57:40,536 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- download success! E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\remote.properties
2014-08-08 13:57:40,542 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- Move to: E:\workspace\disconf\disconf-demos\disconf-standalone-demo\target\classes\remote.properties
2014-08-08 13:57:40,543 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- remoteHost=127.0.0.1
2014-08-08 13:57:40,544 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- remotePort=8080
2014-08-08 13:57:40,708 [main] INFO com.baidu.disconf.client.watch.inner.NodeWatcher
- monitor path: (/disconf/disconf_demo_1_0_0_0_rd/file/remote.properties,remote.properties,配置文件) has been added!
2014-08-08 13:57:40,708 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to process disconf file: coefficients.properties =============================
2014-08-08 13:57:40,711 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- start to download. From: http://127.0.0.1:8081/api/config/file?app=disconf_demo&env=rd&type=0&key=coefficients.properties&version=1_0_0_0 , TO: E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\coefficients.properties
2014-08-08 13:57:40,728 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- download success! E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\coefficients.properties
2014-08-08 13:57:40,730 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- Move to: E:\workspace\disconf\disconf-demos\disconf-standalone-demo\target\classes\coefficients.properties
2014-08-08 13:57:40,731 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- baiFaCoe=1.3
2014-08-08 13:57:40,731 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- yuErBaoCoe=1.2
2014-08-08 13:57:40,731 [main] ERROR com.baidu.disconf.client.store.processor.impl.DisconfStoreFileProcessorImpl
- cannot find coe.baiFaCoe to be injectd. file content is: {baiFaCoe=1.3, yuErBaoCoe=1.2}
2014-08-08 13:57:40,731 [main] ERROR com.baidu.disconf.client.store.processor.impl.DisconfStoreFileProcessorImpl
- cannot find coe.yuErBaoCoe to be injectd. file content is: {baiFaCoe=1.3, yuErBaoCoe=1.2}
2014-08-08 13:57:40,785 [main] INFO com.baidu.disconf.client.watch.inner.NodeWatcher
- monitor path: (/disconf/disconf_demo_1_0_0_0_rd/file/coefficients.properties,coefficients.properties,配置文件) has been added!
2014-08-08 13:57:40,785 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to process disconf file: redis.properties =============================
2014-08-08 13:57:40,788 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- start to download. From: http://127.0.0.1:8081/api/config/file?app=disconf_demo&env=rd&type=0&key=redis.properties&version=1_0_0_0 , TO: E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\redis.properties
2014-08-08 13:57:40,806 [main] INFO com.baidu.disconf.core.common.restful.type.FetchConfFile
- download success! E:\workspace\disconf\disconf-demos\disconf-standalone-demo.\disconf\download\tmp\redis.properties
2014-08-08 13:57:40,812 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- Move to: E:\workspace\disconf\disconf-demos\disconf-standalone-demo\target\classes\redis.properties
2014-08-08 13:57:40,814 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- port=8080
2014-08-08 13:57:40,814 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- host=127.0.0.1
2014-08-08 13:57:40,814 [main] ERROR com.baidu.disconf.client.store.processor.impl.DisconfStoreFileProcessorImpl
- cannot find redis.host to be injectd. file content is: {port=8080, host=127.0.0.1}
2014-08-08 13:57:40,815 [main] ERROR com.baidu.disconf.client.store.processor.impl.DisconfStoreFileProcessorImpl
- cannot find redis.port to be injectd. file content is: {port=8080, host=127.0.0.1}
2014-08-08 13:57:40,861 [main] INFO com.baidu.disconf.client.watch.inner.NodeWatcher
- monitor path: (/disconf/disconf_demo_1_0_0_0_rd/file/redis.properties,redis.properties,配置文件) has been added!
2014-08-08 13:57:40,862 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to process disconf item: moneyInvest =============================
2014-08-08 13:57:40,863 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- start to query url : http://127.0.0.1:8081/api/config/item?app=disconf_demo&env=rd&type=1&key=moneyInvest&version=1_0_0_0
2014-08-08 13:57:40,882 [main] INFO com.baidu.disconf.client.fetcher.FetcherMgr
- remote server return: ValueVo [status=1, message=, value=10000]
2014-08-08 13:57:40,882 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- value: 10000
2014-08-08 13:57:40,920 [main] INFO com.baidu.disconf.client.watch.inner.NodeWatcher
- monitor path: (/disconf/disconf_demo_1_0_0_0_rd/item/moneyInvest,moneyInvest,配置项) has been added!
2014-08-08 13:57:40,920 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to process disconf item: discountRate =============================
2014-08-08 13:57:40,921 [main] INFO com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
- start to query url : http://127.0.0.1:8081/api/config/item?app=disconf_demo&env=rd&type=1&key=discountRate&version=1_0_0_0
2014-08-08 13:57:40,938 [main] INFO com.baidu.disconf.client.fetcher.FetcherMgr
- remote server return: ValueVo [status=1, message=, value=8]
2014-08-08 13:57:40,938 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- value: 8
2014-08-08 13:57:40,971 [main] INFO com.baidu.disconf.client.watch.inner.NodeWatcher
- monitor path: (/disconf/disconf_demo_1_0_0_0_rd/item/discountRate,discountRate,配置项) has been added!
2014-08-08 13:57:41,416 [main] INFO com.baidu.disconf.client.DisconfMgr
- ******************************* DISCONF START SECOND SCAN *******************************
2014-08-08 13:57:41,422 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: remote.properties (remoteHost , 127.0.0.1)
2014-08-08 13:57:41,423 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: remote.properties (remoteHost , 127.0.0.1)
2014-08-08 13:57:41,427 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to inject value to disconf file item instance: remote.properties =============================
2014-08-08 13:57:41,429 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to inject value to disconf file item instance: coefficients.properties =============================
2014-08-08 13:57:41,429 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to inject value to disconf file item instance: redis.properties =============================
2014-08-08 13:57:41,429 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to inject value to disconf item instance: moneyInvest =============================
2014-08-08 13:57:41,429 [main] INFO com.baidu.disconf.client.core.processor.impl.DisconfFileCoreProcessorImpl
- ============== start to inject value to disconf item instance: discountRate =============================
2014-08-08 13:57:41,430 [main] INFO com.baidu.disconf.client.DisconfMgr
- Conf File Map: {remote.properties=DisconfCenterFile [keyMaps={remotePort=FileItemValue [value=8080, field=private int com.baidu.disconf.demo.config.RemoteServerConfig.remotePort], remoteHost=FileItemValue [value=127.0.0.1, field=private java.lang.String com.baidu.disconf.demo.config.RemoteServerConfig.remoteHost]}, cls=class com.baidu.disconf.demo.config.RemoteServerConfig, fileName=remote.properties, toString()=DisconfCenterBaseModel [object=com.baidu.disconf.demo.config.RemoteServerConfig@4c9a105d, remoteServerUrl=/api/config/file?app=disconf_demo&env=rd&type=0&key=remote.properties&version=1_0_0_0, disConfCommonModel=DisConfCommonModel [app=disconf_demo, version=1_0_0_0, env=rd], disconfCommonCallbackModel=DisconfCommonCallbackModel [disconfConfUpdates=[com.baidu.disconf.demo.service.RemoteServiceUpdateCallback@16a870f5], disconfUpdatesActiveBackups=[]]]], coefficients.properties=DisconfCenterFile [keyMaps={coe.baiFaCoe=FileItemValue [value=0.0, field=private double com.baidu.disconf.demo.config.Coefficients.baiFaCoe], coe.yuErBaoCoe=FileItemValue [value=0.0, field=private double com.baidu.disconf.demo.config.Coefficients.yuErBaoCoe]}, cls=class com.baidu.disconf.demo.config.Coefficients, fileName=coefficients.properties, toString()=DisconfCenterBaseModel [object=com.baidu.disconf.demo.config.Coefficients@c8ff072, remoteServerUrl=/api/config/file?app=disconf_demo&env=rd&type=0&key=coefficients.properties&version=1_0_0_0, disConfCommonModel=DisConfCommonModel [app=disconf_demo, version=1_0_0_0, env=rd], disconfCommonCallbackModel=DisconfCommonCallbackModel [disconfConfUpdates=[], disconfUpdatesActiveBackups=[]]]], redis.properties=DisconfCenterFile [keyMaps={redis.host=FileItemValue [value=null, field=private java.lang.String com.baidu.disconf.demo.config.JedisConfig.host], redis.port=FileItemValue [value=0, field=private int com.baidu.disconf.demo.config.JedisConfig.port]}, cls=class com.baidu.disconf.demo.config.JedisConfig, fileName=redis.properties, toString()=DisconfCenterBaseModel [object=com.baidu.disconf.demo.config.JedisConfig@3df2d2cf, remoteServerUrl=/api/config/file?app=disconf_demo&env=rd&type=0&key=redis.properties&version=1_0_0_0, disConfCommonModel=DisConfCommonModel [app=disconf_demo, version=1_0_0_0, env=rd], disconfCommonCallbackModel=DisconfCommonCallbackModel [disconfConfUpdates=[com.baidu.disconf.demo.service.SimpleRedisServiceUpdateCallback@10ee33cf], disconfUpdatesActiveBackups=[]]]]}
2014-08-08 13:57:41,430 [main] INFO com.baidu.disconf.client.DisconfMgr
- Conf Item Map: {moneyInvest=DisconfCenterItem [key=moneyInvest, value=10000.0, field=private java.lang.Double com.baidu.disconf.demo.service.BaoBaoService.moneyInvest, toString()=DisconfCenterBaseModel [object=com.baidu.disconf.demo.service.BaoBaoService@68b63b8, remoteServerUrl=/api/config/item?app=disconf_demo&env=rd&type=1&key=moneyInvest&version=1_0_0_0, disConfCommonModel=DisConfCommonModel [app=disconf_demo, version=1_0_0_0, env=rd], disconfCommonCallbackModel=DisconfCommonCallbackModel [disconfConfUpdates=[], disconfUpdatesActiveBackups=[]]]], discountRate=DisconfCenterItem [key=discountRate, value=8.0, field=private java.lang.Double com.baidu.disconf.demo.config.Coefficients.discount, toString()=DisconfCenterBaseModel [object=com.baidu.disconf.demo.config.Coefficients@c8ff072, remoteServerUrl=/api/config/item?app=disconf_demo&env=rd&type=1&key=discountRate&version=1_0_0_0, disConfCommonModel=DisConfCommonModel [app=disconf_demo, version=1_0_0_0, env=rd], disconfCommonCallbackModel=DisconfCommonCallbackModel [disconfConfUpdates=[com.baidu.disconf.demo.service.SimpleRedisServiceUpdateCallback@10ee33cf], disconfUpdatesActiveBackups=[]]]]}
2014-08-08 13:57:41,430 [main] INFO com.baidu.disconf.client.DisconfMgr
- ******************************* DISCONF END *******************************
2014-08-08 13:57:41,450 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: coefficients.properties (coe.baiFaCoe , 0.0)
2014-08-08 13:57:41,451 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: (discountRate , 8.0)
2014-08-08 13:57:41,451 [main] INFO com.baidu.disconf.demo.task.DisconfDemoTask
- baobao--baifa: 0.0
2014-08-08 13:57:41,451 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: coefficients.properties (coe.yuErBaoCoe , 0.0)
2014-08-08 13:57:41,451 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: (discountRate , 8.0)
2014-08-08 13:57:41,451 [main] INFO com.baidu.disconf.demo.task.DisconfDemoTask
- baobao--yuerbao: 0.0
2014-08-08 13:57:46,451 [main] INFO com.baidu.disconf.client.store.aspect.DisconfAspectJ
- using disconf store value: redis.properties (redis.port , 0)
from disconf.
pom里只能下载2.6.2 disconf-clinet
from disconf.
抱歉,上传**库存在些问题,刚才修复了,估计很快就会有最新的2.6.7了
我把最新版的Jar发给你在附件中
knightliao
发件人: lvhongye
发送时间: 2014-08-08 13:59
收件人: knightliao/disconf
抄送: Qiqi Liao
主题: Re: [disconf] 欢迎大家在这里提出Disconf使用过程中碰到的各种问题 (#2)
pom里只能下载2.6.2 disconf-clinet
—
Reply to this email directly or view it on GitHub.
from disconf.
update to 2.6.7
from disconf.
http://search.maven.org/#search%7Cga%7C1%7Cdisconf
from disconf.
Related Issues (20)
- 指定-Ddisconf.conf_server_host=地址无效? HOT 2
- disconf.properties文件属性配置空格问题
- 更新数据库成功,但Zookeeper更新失败,请重试或联系管理员。 HOT 1
- 请问能管理php程序的配置文件吗 HOT 2
- 动态配置更新时序问题
- disconf 会导致服务异常么?
- 现在支持springboot 的yml托管到disconf了吗,系统启动配置无法加载
- DisconfCenterFile在加载classpath下的disconf.properties路径不正确
- 项目启动后实例为0 HOT 1
- 请问和zookeeper有什么不一样的地方吗?
- disconf-web maven打包问题
- Inconsistent library versions notice.
- 登录提示用户不存在
- 文件流未关闭会不会有问题
- how to run in kubernetes
- when can run in kubernetes
- 调用雪花算法时,不间断的报连接KeeperErrorCode = ConnectionLoss for
- disconfig是怎么解析@Value注解的,请给出核心解析类
- SpringBoot集成disconf首次启动配置未及时加载问题解决
- Code optimization suggestions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from disconf.