Open metacret opened 10 years ago
On Fri, Jul 11, 2014 at 7:22 AM, Ann Wallace annerz@gmail.com wrote: I have the following set:
log4j.appender.SURO=com.netflix.suro.input.Log4jAppender
log4j.appender.SURO.app=XXXX log4j.appender.SURO.loadBalancerServer=HOST:PORT log4j.appender.SURO.loadBalancerType=eureka log4j.appender.SURO.clientType=sync log4j.appender.SURO.routingKey=XXXKey log4j.appender.SURO.asyncFileQueuePath=/XXX/XXX/logs/suroClient
But as long as loadBalancerServer is set I get the following stack traces:
java.lang.RuntimeException: Failed to initialize DiscoveryClient!
at com.netflix.discovery.DiscoveryClient.(DiscoveryClient.java:285)
at com.netflix.discovery.DiscoveryClient.(DiscoveryClient.java:195)
at com.netflix.discovery.DiscoveryManager.initComponent(DiscoveryManager.java:84)
at com.netflix.karyon.server.eureka.EurekaHandler.register(EurekaHandler.java:116)
at com.netflix.karyon.server.eureka.EurekaHandler.postConfig(EurekaHandler.java:100)
.....
Caused by:
java.lang.IllegalArgumentException: DiscoveryClient: invalid serviceUrl specified!
at com.netflix.discovery.DiscoveryClient.getEurekaServiceUrlsFromConfig(DiscoveryClient.java:634)
at com.netflix.discovery.DiscoveryClient.getDiscoveryServiceUrls(DiscoveryClient.java:1311)
at com.netflix.discovery.DiscoveryClient.(DiscoveryClient.java:219)
at com.netflix.karyon.server.eureka.EurekaHandler.register(EurekaHandler.java:116)....
2014-07-11 06:36:33.210:WARN:oejd.DeploymentManager:main: Unable to reach node goal: started
java.lang.Error: java.lang.reflect.InvocationTargetException.....
On Fri, Jul 11, 2014 at 7:22 AM, Ann Wallace annerz@gmail.com wrote: I have the following set:
suro appender
log4j.appender.SURO=com.netflix.suro.input.Log4jAppender
og4j.appender.SURO.layout=com.netflix.suro.input.JsonLog4jFormatter
log4j.appender.SURO.app=XXXX log4j.appender.SURO.loadBalancerServer=HOST:PORT log4j.appender.SURO.loadBalancerType=eureka log4j.appender.SURO.clientType=sync log4j.appender.SURO.routingKey=XXXKey log4j.appender.SURO.asyncFileQueuePath=/XXX/XXX/logs/suroClient
But as long as loadBalancerServer is set I get the following stack traces:
java.lang.RuntimeException: Failed to initialize DiscoveryClient!
at com.netflix.discovery.DiscoveryClient.(DiscoveryClient.java:285)
at com.netflix.discovery.DiscoveryClient.(DiscoveryClient.java:195)
at com.netflix.discovery.DiscoveryManager.initComponent(DiscoveryManager.java:84)
at com.netflix.karyon.server.eureka.EurekaHandler.register(EurekaHandler.java:116)
at com.netflix.karyon.server.eureka.EurekaHandler.postConfig(EurekaHandler.java:100)
.....
Caused by:
java.lang.IllegalArgumentException: DiscoveryClient: invalid serviceUrl specified!
at com.netflix.discovery.DiscoveryClient.getEurekaServiceUrlsFromConfig(DiscoveryClient.java:634)
at com.netflix.discovery.DiscoveryClient.getDiscoveryServiceUrls(DiscoveryClient.java:1311)
at com.netflix.discovery.DiscoveryClient.(DiscoveryClient.java:219)
at com.netflix.discovery.DiscoveryClient.(DiscoveryClient.java:195)
at com.netflix.discovery.DiscoveryManager.initComponent(DiscoveryManager.java:84)
at com.netflix.karyon.server.eureka.EurekaHandler.register(EurekaHandler.java:116)....
2014-07-11 06:36:33.210:WARN:oejd.DeploymentManager:main: Unable to reach node goal: started
java.lang.Error: java.lang.reflect.InvocationTargetException.....