Advertisement
fedorm

Untitled

Apr 3rd, 2019
620
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 18.08 KB | None | 0 0
  1. 03.04 20:06:12.875 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7674f035: startup date [Wed Apr 03 20:06:12 MSK 2019]; root of context hierarchy
  2. 03.04 20:06:13.499 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  3.  
  4.   .   ____          _            __ _ _
  5.  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
  6. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  7.  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  8.   '  |____| .__|_| |_|_| |_\__, | / / / /
  9.  =========|_|==============|___/=/_/_/_/
  10.  :: Spring Boot ::        (v2.0.2.RELEASE)
  11.  
  12. 03.04 20:06:14.937 INFO [PropertySourceBootstrapConfiguration:98] - Located property source: CompositePropertySource {name='consul', propertySources=[ConsulPropertySource {name='config/coupons-consumer-service-test,production/'}, ConsulPropertySource {name='config/coupons-consumer-service-test/'}, ConsulPropertySource {name='config/application,production/'}, ConsulPropertySource {name='config/application/'}]}
  13. 03.04 20:06:14.944 INFO [SpringApplication:663] - The following profiles are active: production
  14. 03.04 20:06:14.965 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@56276db8: startup date [Wed Apr 03 20:06:14 MSK 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7674f035
  15. 03.04 20:06:15.707 INFO [DefaultListableBeanFactory:824] - Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Generic; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]]
  16. 03.04 20:06:16.793 INFO [GenericScope:294] - BeanFactory id=923c5680-3b50-365b-8179-f7ea8fecaf69
  17. 03.04 20:06:16.846 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  18. 03.04 20:06:17.432 INFO [TomcatWebServer:91] - Tomcat initialized with port(s): 8080 (http)
  19. 03.04 20:06:17.456 INFO [DirectJDKLog:180] - Initializing ProtocolHandler ["http-nio-8080"]
  20. 03.04 20:06:17.471 INFO [DirectJDKLog:180] - Starting service [Tomcat]
  21. 03.04 20:06:17.472 INFO [DirectJDKLog:180] - Starting Servlet Engine: Apache Tomcat/8.5.31
  22. 03.04 20:06:17.488 INFO [DirectJDKLog:180] - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
  23. 03.04 20:06:17.591 INFO [DirectJDKLog:180] - Initializing Spring embedded WebApplicationContext
  24. 03.04 20:06:17.592 INFO [ServletWebServerApplicationContext:285] - Root WebApplicationContext: initialization completed in 2627 ms
  25. 03.04 20:06:17.939 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
  26. 03.04 20:06:17.940 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
  27. 03.04 20:06:17.963 INFO [DynamicPropertyFactory:281] - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@760f2634
  28. 03.04 20:06:18.912 INFO [ServletRegistrationBean:185] - Servlet dispatcherServlet mapped to [/]
  29. 03.04 20:06:18.916 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'characterEncodingFilter' to: [/*]
  30. 03.04 20:06:18.917 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  31. 03.04 20:06:18.917 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpPutFormContentFilter' to: [/*]
  32. 03.04 20:06:18.917 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'requestContextFilter' to: [/*]
  33. 03.04 20:06:18.918 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpTraceFilter' to: [/*]
  34. 03.04 20:06:18.918 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'webMvcMetricsFilter' to: [/*]
  35. 03.04 20:06:19.101 INFO [Slf4jLog:44] - Flyway Community Edition 5.0.7 by Boxfuse
  36. 03.04 20:06:19.109 INFO [HikariDataSource:110] - HikariPool-1 - Starting...
  37. 03.04 20:06:19.213 INFO [HikariDataSource:123] - HikariPool-1 - Start completed.
  38. 03.04 20:06:19.220 INFO [Slf4jLog:44] - Database: jdbc:postgresql://10.181.0.182:5432/coupons (PostgreSQL 11.2)
  39. 03.04 20:06:19.236 WARN [Slf4jLog:48] - Flyway upgrade recommended: PostgreSQL 11.2 is newer than this version of Flyway and support has not been tested.
  40. 03.04 20:06:19.282 INFO [Slf4jLog:44] - Successfully validated 3 migrations (execution time 00:00.021s)
  41. 03.04 20:06:19.296 INFO [Slf4jLog:44] - Current version of schema "public": 1.2
  42. 03.04 20:06:19.297 INFO [Slf4jLog:44] - Schema "public" is up to date. No migration necessary.
  43. 03.04 20:06:19.479 INFO [LocalContainerEntityManagerFactoryBean:361] - Building JPA container EntityManagerFactory for persistence unit 'default'
  44. 03.04 20:06:19.507 INFO [LogHelper:31] - HHH000204: Processing PersistenceUnitInfo [
  45.     name: default
  46.     ...]
  47. 03.04 20:06:19.653 INFO [Version:45] - HHH000412: Hibernate Core {5.2.17.Final}
  48. 03.04 20:06:19.655 INFO [Environment:213] - HHH000206: hibernate.properties not found
  49. 03.04 20:06:19.711 INFO [JavaReflectionManager:66] - HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  50. 03.04 20:06:19.973 INFO [Dialect:157] - HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect
  51. 03.04 20:06:19.997 INFO [LobCreatorBuilderImpl:63] - HHH000422: Disabling contextual LOB creation as connection was null
  52. 03.04 20:06:19.999 INFO [BasicTypeRegistry:148] - HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@b606cb6
  53. 03.04 20:06:21.010 INFO [AbstractEntityManagerFactoryBean:415] - Initialized JPA EntityManagerFactory for persistence unit 'default'
  54. 03.04 20:06:21.596 INFO [QueryTranslatorFactoryInitiator:47] - HHH000397: Using ASTQueryTranslatorFactory
  55. 03.04 20:06:21.967 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
  56. 03.04 20:06:21.967 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
  57. 03.04 20:06:22.067 INFO [AbstractUrlHandlerMapping:373] - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
  58. 03.04 20:06:22.423 INFO [RequestMappingHandlerAdapter:574] - Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@56276db8: startup date [Wed Apr 03 20:06:14 MSK 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7674f035
  59. 03.04 20:06:22.497 WARN [JpaBaseConfiguration$JpaWebConfiguration$JpaWebMvcConfiguration:235] - spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
  60. 03.04 20:06:22.554 INFO [AbstractHandlerMethodMapping$MappingRegistry:547] - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
  61. 03.04 20:06:22.555 INFO [AbstractHandlerMethodMapping$MappingRegistry:547] - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
  62. 03.04 20:06:22.642 INFO [AbstractUrlHandlerMapping:373] - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
  63. 03.04 20:06:22.642 INFO [AbstractUrlHandlerMapping:373] - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
  64. 03.04 20:06:23.355 INFO [ExecutorConfigurationSupport:171] - Initializing ExecutorService  'catalogWatchTaskScheduler'
  65. 03.04 20:06:23.557 INFO [ExecutorConfigurationSupport:171] - Initializing ExecutorService  'configWatchTaskScheduler'
  66. 03.04 20:06:23.592 INFO [EndpointLinksResolver:59] - Exposing 2 endpoint(s) beneath base path '/actuator'
  67. 03.04 20:06:23.612 INFO [AbstractHandlerMethodMapping$MappingRegistry:547] - Mapped "{[/actuator/health],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
  68. 03.04 20:06:23.613 INFO [AbstractHandlerMethodMapping$MappingRegistry:547] - Mapped "{[/actuator/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.web.servlet.AbstractWebMvcEndpointHandlerMapping$OperationHandler.handle(javax.servlet.http.HttpServletRequest,java.util.Map<java.lang.String, java.lang.String>)
  69. 03.04 20:06:23.614 INFO [AbstractHandlerMethodMapping$MappingRegistry:547] - Mapped "{[/actuator],methods=[GET],produces=[application/vnd.spring-boot.actuator.v2+json || application/json]}" onto protected java.util.Map<java.lang.String, java.util.Map<java.lang.String, org.springframework.boot.actuate.endpoint.web.Link>> org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping.links(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
  70. 03.04 20:06:23.890 INFO [AbstractConfig:238] - ConsumerConfig values:
  71.     auto.commit.interval.ms = 5000
  72.     auto.offset.reset = earliest
  73.     bootstrap.servers = [test.kafka.service.consul:9092]
  74.     check.crcs = true
  75.     client.id =
  76.     connections.max.idle.ms = 540000
  77.     enable.auto.commit = false
  78.     exclude.internal.topics = true
  79.     fetch.max.bytes = 52428800
  80.     fetch.max.wait.ms = 10000
  81.     fetch.min.bytes = 10240
  82.     group.id = coupon-processing-consumer-group
  83.     heartbeat.interval.ms = 3000
  84.     interceptor.classes = null
  85.     internal.leave.group.on.close = true
  86.     isolation.level = read_uncommitted
  87.     key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
  88.     max.partition.fetch.bytes = 1048576
  89.     max.poll.interval.ms = 300000
  90.     max.poll.records = 10
  91.     metadata.max.age.ms = 300000
  92.     metric.reporters = []
  93.     metrics.num.samples = 2
  94.     metrics.recording.level = INFO
  95.     metrics.sample.window.ms = 30000
  96.     partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor]
  97.     receive.buffer.bytes = 65536
  98.     reconnect.backoff.max.ms = 1000
  99.     reconnect.backoff.ms = 50
  100.     request.timeout.ms = 305000
  101.     retry.backoff.ms = 100
  102.     sasl.jaas.config = null
  103.     sasl.kerberos.kinit.cmd = /usr/bin/kinit
  104.     sasl.kerberos.min.time.before.relogin = 60000
  105.     sasl.kerberos.service.name = null
  106.     sasl.kerberos.ticket.renew.jitter = 0.05
  107.     sasl.kerberos.ticket.renew.window.factor = 0.8
  108.     sasl.mechanism = GSSAPI
  109.     security.protocol = PLAINTEXT
  110.     send.buffer.bytes = 131072
  111.     session.timeout.ms = 10000
  112.     ssl.cipher.suites = null
  113.     ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
  114.     ssl.endpoint.identification.algorithm = null
  115.     ssl.key.password = null
  116.     ssl.keymanager.algorithm = SunX509
  117.     ssl.keystore.location = null
  118.     ssl.keystore.password = null
  119.     ssl.keystore.type = JKS
  120.     ssl.protocol = TLS
  121.     ssl.provider = null
  122.     ssl.secure.random.implementation = null
  123.     ssl.trustmanager.algorithm = PKIX
  124.     ssl.truststore.location = null
  125.     ssl.truststore.password = null
  126.     ssl.truststore.type = JKS
  127.     value.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
  128.  
  129. 03.04 20:06:23.909 WARN [ClientUtils:54] - Removing server test.kafka.service.consul:9092 from bootstrap.servers as DNS resolution failed for test.kafka.service.consul
  130. 03.04 20:06:23.911 WARN [AbstractApplicationContext:558] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.kafka.config.internalKafkaListenerEndpointRegistry'; nested exception is org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
  131. 03.04 20:06:23.912 INFO [ExecutorConfigurationSupport:208] - Shutting down ExecutorService 'configWatchTaskScheduler'
  132. 03.04 20:06:23.914 INFO [ExecutorConfigurationSupport:208] - Shutting down ExecutorService 'catalogWatchTaskScheduler'
  133. 03.04 20:06:23.921 INFO [AbstractEntityManagerFactoryBean:597] - Closing JPA EntityManagerFactory for persistence unit 'default'
  134. 03.04 20:06:23.922 INFO [HikariDataSource:381] - HikariPool-1 - Shutdown initiated...
  135. 03.04 20:06:23.929 INFO [HikariDataSource:383] - HikariPool-1 - Shutdown completed.
  136. 03.04 20:06:23.933 INFO [DirectJDKLog:180] - Stopping service [Tomcat]
  137. 03.04 20:06:23.967 INFO [ConditionEvaluationReportLoggingListener:101] -
  138.  
  139. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  140. 03.04 20:06:23.972 ERROR [SpringApplication:842] - Application run failed
  141. org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.kafka.config.internalKafkaListenerEndpointRegistry'; nested exception is org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
  142.     at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:184)
  143.     at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:52)
  144.     at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:356)
  145.     at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:157)
  146.     at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:121)
  147.     at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:885)
  148.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:161)
  149.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
  150.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  151.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  152.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  153.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  154.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  155.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  156.     at ru.crystals.processing.coupons.consumer.ConsumerApplication.main(ConsumerApplication.java:19)
  157.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  158.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  159.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  160.     at java.lang.reflect.Method.invoke(Method.java:498)
  161.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  162.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  163.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  164.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  165. Caused by: org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
  166.     at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:789)
  167.     at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:608)
  168.     at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createKafkaConsumer(DefaultKafkaConsumerFactory.java:139)
  169.     at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createKafkaConsumer(DefaultKafkaConsumerFactory.java:134)
  170.     at org.springframework.kafka.core.DefaultKafkaConsumerFactory.createConsumer(DefaultKafkaConsumerFactory.java:102)
  171.     at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.<init>(KafkaMessageListenerContainer.java:425)
  172.     at org.springframework.kafka.listener.KafkaMessageListenerContainer.doStart(KafkaMessageListenerContainer.java:259)
  173.     at org.springframework.kafka.listener.AbstractMessageListenerContainer.start(AbstractMessageListenerContainer.java:269)
  174.     at org.springframework.kafka.listener.ConcurrentMessageListenerContainer.doStart(ConcurrentMessageListenerContainer.java:163)
  175.     at org.springframework.kafka.listener.AbstractMessageListenerContainer.start(AbstractMessageListenerContainer.java:269)
  176.     at org.springframework.kafka.config.KafkaListenerEndpointRegistry.startIfNecessary(KafkaListenerEndpointRegistry.java:289)
  177.     at org.springframework.kafka.config.KafkaListenerEndpointRegistry.start(KafkaListenerEndpointRegistry.java:238)
  178.     at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:181)
  179.     ... 22 common frames omitted
  180. Caused by: org.apache.kafka.common.config.ConfigException: No resolvable bootstrap urls given in bootstrap.servers
  181.     at org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(ClientUtils.java:64)
  182.     at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:706)
  183.     ... 34 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement