Advertisement
fedorm

Untitled

Apr 3rd, 2019
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 50.14 KB | None | 0 0
  1. .04 19:24:38.710 INFO [SpringApplication:663] - The following profiles are active: production
  2. 03.04 19:24:38.730 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@5b080f3a: startup date [Wed Apr 03 19:24:38 MSK 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@306e95ec
  3. 03.04 19:24:39.563 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]]
  4. 03.04 19:24:40.571 INFO [GenericScope:294] - BeanFactory id=e837e71f-177d-3040-b77e-2a3c18705f6a
  5. 03.04 19:24:40.625 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  6. 03.04 19:24:41.242 INFO [TomcatWebServer:91] - Tomcat initialized with port(s): 8080 (http)
  7. 03.04 19:24:41.261 INFO [DirectJDKLog:180] - Initializing ProtocolHandler ["http-nio-8080"]
  8. 03.04 19:24:41.276 INFO [DirectJDKLog:180] - Starting service [Tomcat]
  9. 03.04 19:24:41.277 INFO [DirectJDKLog:180] - Starting Servlet Engine: Apache Tomcat/8.5.31
  10. 03.04 19:24:41.290 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]
  11. 03.04 19:24:41.388 INFO [DirectJDKLog:180] - Initializing Spring embedded WebApplicationContext
  12. 03.04 19:24:41.388 INFO [ServletWebServerApplicationContext:285] - Root WebApplicationContext: initialization completed in 2658 ms
  13. 03.04 19:24:41.700 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
  14. 03.04 19:24:41.701 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
  15. 03.04 19:24:41.723 INFO [DynamicPropertyFactory:281] - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@6604927d
  16. 03.04 19:24:42.709 INFO [ServletRegistrationBean:185] - Servlet dispatcherServlet mapped to [/]
  17. 03.04 19:24:42.714 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'characterEncodingFilter' to: [/*]
  18. 03.04 19:24:42.714 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  19. 03.04 19:24:42.715 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpPutFormContentFilter' to: [/*]
  20. 03.04 19:24:42.715 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'requestContextFilter' to: [/*]
  21. 03.04 19:24:42.715 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpTraceFilter' to: [/*]
  22. 03.04 19:24:42.716 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'webMvcMetricsFilter' to: [/*]
  23. 03.04 19:24:42.893 INFO [Slf4jLog:44] - Flyway Community Edition 5.0.7 by Boxfuse
  24. 03.04 19:24:42.901 INFO [HikariDataSource:110] - HikariPool-1 - Starting...
  25. 03.04 19:24:42.942 WARN [ConnectionFactoryImpl:317] - SQLException occurred while connecting to 10.181.0.182:5432
  26. org.postgresql.util.PSQLException: ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  27.     at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
  28.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
  29.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  30.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  31.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  32.     at org.postgresql.Driver.connect(Driver.java:254)
  33.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  34.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  35.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  36.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  37.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  38.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  39.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  40.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  41.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
  42.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  43.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  44.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  45.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  46.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  47.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  48.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  49.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  50.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  51.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  52.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  53.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  54.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  55.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  56.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  57.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  58.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  59.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  60.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  61.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  62.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  63.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  64.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  65.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  66.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  67.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  68.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  69.     at java.lang.reflect.Method.invoke(Method.java:498)
  70.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  71.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  72.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  73.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  74. 03.04 19:24:42.944 ERROR [Driver:263] - Connection error:
  75. org.postgresql.util.PSQLException: ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  76.     at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
  77.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
  78.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  79.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  80.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  81.     at org.postgresql.Driver.connect(Driver.java:254)
  82.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  83.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  84.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  85.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  86.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  87.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  88.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  89.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  90.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
  91.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  92.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  93.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  94.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  95.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  96.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  97.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  98.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  99.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  100.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  101.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  102.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  103.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  104.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  105.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  106.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  107.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  108.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  109.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  110.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  111.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  112.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  113.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  114.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  115.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  116.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  117.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  118.     at java.lang.reflect.Method.invoke(Method.java:498)
  119.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  120.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  121.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  122.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  123. 03.04 19:24:43.947 ERROR [HikariPool:567] - HikariPool-1 - Exception during pool initialization.
  124. org.postgresql.util.PSQLException: ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  125.     at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
  126.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
  127.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  128.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  129.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  130.     at org.postgresql.Driver.connect(Driver.java:254)
  131.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  132.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  133.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  134.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  135.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  136.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  137.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  138.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  139.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
  140.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  141.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  142.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  143.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  144.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  145.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  146.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  147.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  148.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  149.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  150.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  151.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  152.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  153.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  154.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  155.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  156.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  157.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  158.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  159.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  160.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  161.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  162.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  163.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  164.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  165.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  166.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  167.     at java.lang.reflect.Method.invoke(Method.java:498)
  168.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  169.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  170.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  171.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  172. 03.04 19:24:43.952 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:
  173. Unable to obtain database connection
  174. ------------------------------------
  175. SQL State  : 28P01
  176. Error Code : 0
  177. Message    : ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  178.  
  179. 03.04 19:24:43.957 INFO [DirectJDKLog:180] - Stopping service [Tomcat]
  180. 03.04 19:24:43.982 INFO [ConditionEvaluationReportLoggingListener:101] -
  181.  
  182. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  183. 03.04 19:24:43.984 ERROR [SpringApplication:842] - Application run failed
  184. 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:
  185. Unable to obtain database connection
  186. ------------------------------------
  187. SQL State  : 28P01
  188. Error Code : 0
  189. Message    : ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  190.  
  191.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1706)
  192.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  193.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  194.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  195.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  196.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  197.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  198.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  199.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  200.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  201.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  202.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  203.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  204.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  205.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  206.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  207.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  208.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  209.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  210.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  211.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  212.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  213.     at java.lang.reflect.Method.invoke(Method.java:498)
  214.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  215.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  216.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  217.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  218. Caused by: org.flywaydb.core.internal.exception.FlywaySqlException:
  219. Unable to obtain database connection
  220. ------------------------------------
  221. SQL State  : 28P01
  222. Error Code : 0
  223. Message    : ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  224.  
  225.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:57)
  226.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  227.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  228.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  229.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  230.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  231.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  232.     ... 26 common frames omitted
  233. Caused by: org.postgresql.util.PSQLException: ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  234.     at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
  235.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
  236.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  237.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  238.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  239.     at org.postgresql.Driver.connect(Driver.java:254)
  240.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  241.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  242.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  243.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  244.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  245.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  246.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  247.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  248.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
  249.     ... 32 common frames omitted
  250. Listening for transport dt_socket at address: 8787
  251. 03.04 19:25:09.097 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@e15b7e8: startup date [Wed Apr 03 19:25:09 MSK 2019]; root of context hierarchy
  252. 03.04 19:25:09.801 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  253.  
  254.   .   ____          _            __ _ _
  255.  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
  256. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  257.  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  258.   '  |____| .__|_| |_|_| |_\__, | / / / /
  259.  =========|_|==============|___/=/_/_/_/
  260.  :: Spring Boot ::        (v2.0.2.RELEASE)
  261.  
  262. 03.04 19:25:11.146 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/'}]}
  263. 03.04 19:25:11.152 INFO [SpringApplication:663] - The following profiles are active: production
  264. 03.04 19:25:11.169 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@b70da4c: startup date [Wed Apr 03 19:25:11 MSK 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@e15b7e8
  265. 03.04 19:25:11.960 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]]
  266. 03.04 19:25:12.871 INFO [GenericScope:294] - BeanFactory id=e837e71f-177d-3040-b77e-2a3c18705f6a
  267. 03.04 19:25:12.925 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  268. 03.04 19:25:13.529 INFO [TomcatWebServer:91] - Tomcat initialized with port(s): 8080 (http)
  269. 03.04 19:25:13.554 INFO [DirectJDKLog:180] - Initializing ProtocolHandler ["http-nio-8080"]
  270. 03.04 19:25:13.569 INFO [DirectJDKLog:180] - Starting service [Tomcat]
  271. 03.04 19:25:13.569 INFO [DirectJDKLog:180] - Starting Servlet Engine: Apache Tomcat/8.5.31
  272. 03.04 19:25:13.584 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]
  273. 03.04 19:25:13.707 INFO [DirectJDKLog:180] - Initializing Spring embedded WebApplicationContext
  274. 03.04 19:25:13.707 INFO [ServletWebServerApplicationContext:285] - Root WebApplicationContext: initialization completed in 2538 ms
  275. 03.04 19:25:14.030 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
  276. 03.04 19:25:14.031 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
  277. 03.04 19:25:14.052 INFO [DynamicPropertyFactory:281] - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@2827a426
  278. 03.04 19:25:15.000 INFO [ServletRegistrationBean:185] - Servlet dispatcherServlet mapped to [/]
  279. 03.04 19:25:15.005 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'characterEncodingFilter' to: [/*]
  280. 03.04 19:25:15.005 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  281. 03.04 19:25:15.006 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpPutFormContentFilter' to: [/*]
  282. 03.04 19:25:15.006 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'requestContextFilter' to: [/*]
  283. 03.04 19:25:15.006 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpTraceFilter' to: [/*]
  284. 03.04 19:25:15.006 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'webMvcMetricsFilter' to: [/*]
  285. 03.04 19:25:15.175 INFO [Slf4jLog:44] - Flyway Community Edition 5.0.7 by Boxfuse
  286. 03.04 19:25:15.182 INFO [HikariDataSource:110] - HikariPool-1 - Starting...
  287. 03.04 19:25:15.222 WARN [ConnectionFactoryImpl:317] - SQLException occurred while connecting to 10.181.0.182:5432
  288. org.postgresql.util.PSQLException: ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  289.     at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
  290.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
  291.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  292.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  293.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  294.     at org.postgresql.Driver.connect(Driver.java:254)
  295.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  296.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  297.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  298.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  299.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  300.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  301.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  302.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  303.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
  304.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  305.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  306.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  307.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  308.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  309.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  310.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  311.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  312.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  313.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  314.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  315.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  316.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  317.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  318.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  319.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  320.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  321.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  322.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  323.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  324.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  325.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  326.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  327.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  328.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  329.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  330.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  331.     at java.lang.reflect.Method.invoke(Method.java:498)
  332.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  333.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  334.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  335.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  336. 03.04 19:25:15.224 ERROR [Driver:263] - Connection error:
  337. org.postgresql.util.PSQLException: ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  338.     at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
  339.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
  340.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  341.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  342.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  343.     at org.postgresql.Driver.connect(Driver.java:254)
  344.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  345.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  346.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  347.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  348.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  349.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  350.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  351.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  352.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
  353.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  354.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  355.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  356.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  357.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  358.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  359.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  360.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  361.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  362.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  363.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  364.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  365.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  366.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  367.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  368.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  369.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  370.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  371.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  372.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  373.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  374.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  375.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  376.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  377.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  378.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  379.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  380.     at java.lang.reflect.Method.invoke(Method.java:498)
  381.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  382.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  383.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  384.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  385. 03.04 19:25:16.226 ERROR [HikariPool:567] - HikariPool-1 - Exception during pool initialization.
  386. org.postgresql.util.PSQLException: ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  387.     at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
  388.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
  389.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  390.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  391.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  392.     at org.postgresql.Driver.connect(Driver.java:254)
  393.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  394.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  395.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  396.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  397.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  398.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  399.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  400.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  401.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
  402.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  403.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  404.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  405.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  406.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  407.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  408.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  409.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  410.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  411.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  412.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  413.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  414.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  415.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  416.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  417.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  418.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  419.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  420.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  421.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  422.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  423.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  424.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  425.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  426.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  427.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  428.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  429.     at java.lang.reflect.Method.invoke(Method.java:498)
  430.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  431.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  432.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  433.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  434. 03.04 19:25:16.229 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:
  435. Unable to obtain database connection
  436. ------------------------------------
  437. SQL State  : 28P01
  438. Error Code : 0
  439. Message    : ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  440.  
  441. 03.04 19:25:16.236 INFO [DirectJDKLog:180] - Stopping service [Tomcat]
  442. 03.04 19:25:16.262 INFO [ConditionEvaluationReportLoggingListener:101] -
  443.  
  444. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  445. 03.04 19:25:16.264 ERROR [SpringApplication:842] - Application run failed
  446. 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:
  447. Unable to obtain database connection
  448. ------------------------------------
  449. SQL State  : 28P01
  450. Error Code : 0
  451. Message    : ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  452.  
  453.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1706)
  454.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
  455.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
  456.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
  457.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  458.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
  459.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  460.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
  461.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  462.     at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
  463.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
  464.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  465.     at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
  466.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
  467.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
  468.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
  469.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
  470.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
  471.     at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
  472.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  473.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  474.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  475.     at java.lang.reflect.Method.invoke(Method.java:498)
  476.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  477.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  478.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  479.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  480. Caused by: org.flywaydb.core.internal.exception.FlywaySqlException:
  481. Unable to obtain database connection
  482. ------------------------------------
  483. SQL State  : 28P01
  484. Error Code : 0
  485. Message    : ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  486.  
  487.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:57)
  488.     at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
  489.     at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
  490.     at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
  491.     at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
  492.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
  493.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
  494.     ... 26 common frames omitted
  495. Caused by: org.postgresql.util.PSQLException: ВАЖНО: пользователь "postgres" не прошёл проверку подлинности (по паролю)
  496.     at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
  497.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
  498.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  499.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  500.     at org.postgresql.Driver.makeConnection(Driver.java:452)
  501.     at org.postgresql.Driver.connect(Driver.java:254)
  502.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
  503.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
  504.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
  505.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
  506.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
  507.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
  508.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  509.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  510.     at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement