Advertisement
fedorm

Untitled

Apr 12th, 2019
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 31.30 KB | None | 0 0
  1. Listening for transport dt_socket at address: 8787
  2. 12.04 14:13:57.350 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@503d687a: startup date [Fri Apr 12 14:13:57 MSK 2019]; root of context hierarchy
  3. 12.04 14:13:59.252 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  4.  
  5.   .   ____          _            __ _ _
  6.  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
  7. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  8.  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  9.   '  |____| .__|_| |_|_| |_\__, | / / / /
  10.  =========|_|==============|___/=/_/_/_/
  11.  :: Spring Boot ::        (v2.0.2.RELEASE)
  12.  
  13. 12.04 14:14:02.280 INFO [PropertySourceBootstrapConfiguration:98] - Located property source: CompositePropertySource {name='consul', propertySources=[ConsulPropertySource {name='config/coupons-category-service-test,production/'}, ConsulPropertySource {name='config/coupons-category-service-test/'}, ConsulPropertySource {name='config/application,production/'}, ConsulPropertySource {name='config/application/'}]}
  14. 12.04 14:14:02.289 INFO [SpringApplication:663] - The following profiles are active: production
  15. 12.04 14:14:02.373 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7216fb24: startup date [Fri Apr 12 14:14:02 MSK 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@503d687a
  16. 12.04 14:14:04.773 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]]
  17. 12.04 14:14:08.070 INFO [GenericScope:294] - BeanFactory id=e837e71f-177d-3040-b77e-2a3c18705f6a
  18. 12.04 14:14:08.192 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  19. 12.04 14:14:09.810 INFO [TomcatWebServer:91] - Tomcat initialized with port(s): 8080 (http)
  20. 12.04 14:14:09.869 INFO [DirectJDKLog:180] - Initializing ProtocolHandler ["http-nio-8080"]
  21. 12.04 14:14:09.929 INFO [DirectJDKLog:180] - Starting service [Tomcat]
  22. 12.04 14:14:09.929 INFO [DirectJDKLog:180] - Starting Servlet Engine: Apache Tomcat/8.5.31
  23. 12.04 14:14:10.008 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]
  24. 12.04 14:14:10.328 INFO [DirectJDKLog:180] - Initializing Spring embedded WebApplicationContext
  25. 12.04 14:14:10.328 INFO [ServletWebServerApplicationContext:285] - Root WebApplicationContext: initialization completed in 7955 ms
  26. 12.04 14:14:11.240 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
  27. 12.04 14:14:11.240 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
  28. 12.04 14:14:11.267 INFO [DynamicPropertyFactory:281] - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@4b2a8a6e
  29. 12.04 14:14:13.273 INFO [ServletRegistrationBean:185] - Servlet dispatcherServlet mapped to [/]
  30. 12.04 14:14:13.295 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'characterEncodingFilter' to: [/*]
  31. 12.04 14:14:13.296 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  32. 12.04 14:14:13.296 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpPutFormContentFilter' to: [/*]
  33. 12.04 14:14:13.296 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'requestContextFilter' to: [/*]
  34. 12.04 14:14:13.296 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpTraceFilter' to: [/*]
  35. 12.04 14:14:13.297 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'webMvcMetricsFilter' to: [/*]
  36. 12.04 14:14:13.801 INFO [Slf4jLog:44] - Flyway Community Edition 5.0.7 by Boxfuse
  37. 12.04 14:14:13.880 INFO [HikariDataSource:110] - HikariPool-1 - Starting...
  38. Listening for transport dt_socket at address: 8787
  39. 12.04 14:14:49.521 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7e9131d5: startup date [Fri Apr 12 14:14:49 MSK 2019]; root of context hierarchy
  40. 12.04 14:14:50.869 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  41.  
  42.   .   ____          _            __ _ _
  43.  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
  44. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  45.  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  46.   '  |____| .__|_| |_|_| |_\__, | / / / /
  47.  =========|_|==============|___/=/_/_/_/
  48.  :: Spring Boot ::        (v2.0.2.RELEASE)
  49.  
  50. 12.04 14:14:53.357 INFO [PropertySourceBootstrapConfiguration:98] - Located property source: CompositePropertySource {name='consul', propertySources=[ConsulPropertySource {name='config/coupons-category-service-test,production/'}, ConsulPropertySource {name='config/coupons-category-service-test/'}, ConsulPropertySource {name='config/application,production/'}, ConsulPropertySource {name='config/application/'}]}
  51. 12.04 14:14:53.374 INFO [SpringApplication:663] - The following profiles are active: production
  52. 12.04 14:14:53.439 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@18cebaa5: startup date [Fri Apr 12 14:14:53 MSK 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7e9131d5
  53. 12.04 14:14:55.463 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]]
  54. 12.04 14:14:58.334 INFO [GenericScope:294] - BeanFactory id=e837e71f-177d-3040-b77e-2a3c18705f6a
  55. 12.04 14:14:58.563 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  56. 12.04 14:15:00.107 INFO [TomcatWebServer:91] - Tomcat initialized with port(s): 8080 (http)
  57. 12.04 14:15:00.143 INFO [DirectJDKLog:180] - Initializing ProtocolHandler ["http-nio-8080"]
  58. 12.04 14:15:00.189 INFO [DirectJDKLog:180] - Starting service [Tomcat]
  59. 12.04 14:15:00.190 INFO [DirectJDKLog:180] - Starting Servlet Engine: Apache Tomcat/8.5.31
  60. 12.04 14:15:00.225 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]
  61. 12.04 14:15:00.566 INFO [DirectJDKLog:180] - Initializing Spring embedded WebApplicationContext
  62. 12.04 14:15:00.566 INFO [ServletWebServerApplicationContext:285] - Root WebApplicationContext: initialization completed in 7127 ms
  63. 12.04 14:15:01.653 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
  64. 12.04 14:15:01.653 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
  65. 12.04 14:15:01.712 INFO [DynamicPropertyFactory:281] - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@2aac24c7
  66. 12.04 14:15:04.598 INFO [ServletRegistrationBean:185] - Servlet dispatcherServlet mapped to [/]
  67. 12.04 14:15:04.623 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'characterEncodingFilter' to: [/*]
  68. 12.04 14:15:04.623 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  69. 12.04 14:15:04.624 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpPutFormContentFilter' to: [/*]
  70. 12.04 14:15:04.624 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'requestContextFilter' to: [/*]
  71. 12.04 14:15:04.624 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpTraceFilter' to: [/*]
  72. 12.04 14:15:04.624 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'webMvcMetricsFilter' to: [/*]
  73. 12.04 14:15:05.193 INFO [Slf4jLog:44] - Flyway Community Edition 5.0.7 by Boxfuse
  74. 12.04 14:15:05.209 INFO [HikariDataSource:110] - HikariPool-1 - Starting...
  75. 12.04 14:15:15.353 WARN [ConnectionFactoryImpl:317] - IOException occurred while connecting to master.cluster.service.consul:5432
  76. java.net.SocketTimeoutException: connect timed out
  77.     at java.net.PlainSocketImpl.socketConnect(Native Method)
  78.     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  79.     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  80.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  81.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  82.     at java.net.Socket.connect(Socket.java:589)
  83.     at org.postgresql.core.PGStream.<init>(PGStream.java:69)
  84.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)
  85.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  86.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  87.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  88.     at org.postgresql.Driver.connect(Driver.java:254)
  89.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  90.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  91.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  92.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  93.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  94.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  95.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  96.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  97.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
  98.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  99.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  100.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  101.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  102.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  103.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  104.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  105.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  106.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  107.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  108.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  109.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  110.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  111.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  112.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  113.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  114.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  115.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  116.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  117.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  118.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  119.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  120.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  121.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  122.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  123.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  124.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  125.     at java.lang.reflect.Method.invoke(Method.java:498)
  126.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  127.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  128.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  129.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  130. 12.04 14:15:15.358 ERROR [Driver:263] - Connection error:
  131. org.postgresql.util.PSQLException: The connection attempt failed.
  132.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)
  133.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  134.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  135.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  136.     at org.postgresql.Driver.connect(Driver.java:254)
  137.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  138.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  139.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  140.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  141.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  142.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  143.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  144.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  145.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
  146.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  147.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  148.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  149.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  150.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  151.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  152.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  153.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  154.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  155.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  156.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  157.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  158.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  159.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  160.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  161.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  162.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  163.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  164.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  165.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  166.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  167.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  168.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  169.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  170.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  171.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  172.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  173.     at java.lang.reflect.Method.invoke(Method.java:498)
  174.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  175.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  176.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  177.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  178. Caused by: java.net.SocketTimeoutException: connect timed out
  179.     at java.net.PlainSocketImpl.socketConnect(Native Method)
  180.     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  181.     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  182.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  183.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  184.     at java.net.Socket.connect(Socket.java:589)
  185.     at org.postgresql.core.PGStream.<init>(PGStream.java:69)
  186.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)
  187.     ... 45 common frames omitted
  188. 12.04 14:15:16.359 ERROR [HikariPool:567] - HikariPool-1 - Exception during pool initialization.
  189. org.postgresql.util.PSQLException: The connection attempt failed.
  190.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)
  191.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  192.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  193.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  194.     at org.postgresql.Driver.connect(Driver.java:254)
  195.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  196.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  197.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  198.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  199.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  200.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  201.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  202.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  203.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
  204.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  205.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  206.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  207.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  208.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  209.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  210.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  211.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  212.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  213.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  214.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  215.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  216.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  217.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  218.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  219.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  220.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  221.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  222.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  223.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  224.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  225.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  226.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  227.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  228.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  229.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  230.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  231.     at java.lang.reflect.Method.invoke(Method.java:498)
  232.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  233.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  234.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  235.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  236. Caused by: java.net.SocketTimeoutException: connect timed out
  237.     at java.net.PlainSocketImpl.socketConnect(Native Method)
  238.     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  239.     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  240.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  241.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  242.     at java.net.Socket.connect(Socket.java:589)
  243.     at org.postgresql.core.PGStream.<init>(PGStream.java:69)
  244.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)
  245.     ... 45 common frames omitted
  246. 12.04 14:15:16.362 WARN [AbstractApplicationContext:558] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.internal.exception.FlywaySqlException:
  247. Unable to obtain database connection
  248. ------------------------------------
  249. SQL State  : 08001
  250. Error Code : 0
  251. Message    : The connection attempt failed.
  252.  
  253. 12.04 14:15:16.366 INFO [DirectJDKLog:180] - Stopping service [Tomcat]
  254. 12.04 14:15:16.401 INFO [ConditionEvaluationReportLoggingListener:101] -
  255.  
  256. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  257. 12.04 14:15:16.404 ERROR [SpringApplication:842] - Application run failed
  258. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.internal.exception.FlywaySqlException:
  259. Unable to obtain database connection
  260. ------------------------------------
  261. SQL State  : 08001
  262. Error Code : 0
  263. Message    : The connection attempt failed.
  264.  
  265.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1706)
  266.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  267.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  268.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  269.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  270.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  271.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  272.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  273.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  274.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  275.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  276.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  277.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  278.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  279.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  280.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  281.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  282.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  283.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  284.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  285.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  286.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  287.     at java.lang.reflect.Method.invoke(Method.java:498)
  288.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  289.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  290.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  291.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  292. Caused by: org.flywaydb.core.internal.exception.FlywaySqlException:
  293. Unable to obtain database connection
  294. ------------------------------------
  295. SQL State  : 08001
  296. Error Code : 0
  297. Message    : The connection attempt failed.
  298.  
  299.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:57)
  300.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  301.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  302.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  303.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  304.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  305.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  306.     ... 26 common frames omitted
  307. Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
  308.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)
  309.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  310.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  311.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  312.     at org.postgresql.Driver.connect(Driver.java:254)
  313.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  314.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  315.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  316.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  317.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  318.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  319.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  320.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  321.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
  322.     ... 32 common frames omitted
  323. Caused by: java.net.SocketTimeoutException: connect timed out
  324.     at java.net.PlainSocketImpl.socketConnect(Native Method)
  325.     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  326.     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  327.     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  328.     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  329.     at java.net.Socket.connect(Socket.java:589)
  330.     at org.postgresql.core.PGStream.<init>(PGStream.java:69)
  331.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)
  332.     ... 45 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement