Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .04 19:24:38.710 INFO [SpringApplication:663] - The following profiles are active: production
- 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
- 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]]
- 03.04 19:24:40.571 INFO [GenericScope:294] - BeanFactory id=e837e71f-177d-3040-b77e-2a3c18705f6a
- 03.04 19:24:40.625 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 03.04 19:24:41.242 INFO [TomcatWebServer:91] - Tomcat initialized with port(s): 8080 (http)
- 03.04 19:24:41.261 INFO [DirectJDKLog:180] - Initializing ProtocolHandler ["http-nio-8080"]
- 03.04 19:24:41.276 INFO [DirectJDKLog:180] - Starting service [Tomcat]
- 03.04 19:24:41.277 INFO [DirectJDKLog:180] - Starting Servlet Engine: Apache Tomcat/8.5.31
- 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]
- 03.04 19:24:41.388 INFO [DirectJDKLog:180] - Initializing Spring embedded WebApplicationContext
- 03.04 19:24:41.388 INFO [ServletWebServerApplicationContext:285] - Root WebApplicationContext: initialization completed in 2658 ms
- 03.04 19:24:41.700 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
- 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.
- 03.04 19:24:41.723 INFO [DynamicPropertyFactory:281] - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@6604927d
- 03.04 19:24:42.709 INFO [ServletRegistrationBean:185] - Servlet dispatcherServlet mapped to [/]
- 03.04 19:24:42.714 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'characterEncodingFilter' to: [/*]
- 03.04 19:24:42.714 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 03.04 19:24:42.715 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 03.04 19:24:42.715 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'requestContextFilter' to: [/*]
- 03.04 19:24:42.715 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpTraceFilter' to: [/*]
- 03.04 19:24:42.716 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'webMvcMetricsFilter' to: [/*]
- 03.04 19:24:42.893 INFO [Slf4jLog:44] - Flyway Community Edition 5.0.7 by Boxfuse
- 03.04 19:24:42.901 INFO [HikariDataSource:110] - HikariPool-1 - Starting...
- 03.04 19:24:42.942 WARN [ConnectionFactoryImpl:317] - SQLException occurred while connecting to 10.181.0.182:5432
- org.postgresql.util.PSQLException: ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
- at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
- at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
- at org.postgresql.Driver.makeConnection(Driver.java:452)
- at org.postgresql.Driver.connect(Driver.java:254)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
- at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
- at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
- at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
- at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
- at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
- at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
- at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
- at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
- 03.04 19:24:42.944 ERROR [Driver:263] - Connection error:
- org.postgresql.util.PSQLException: ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
- at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
- at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
- at org.postgresql.Driver.makeConnection(Driver.java:452)
- at org.postgresql.Driver.connect(Driver.java:254)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
- at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
- at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
- at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
- at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
- at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
- at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
- at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
- at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
- 03.04 19:24:43.947 ERROR [HikariPool:567] - HikariPool-1 - Exception during pool initialization.
- org.postgresql.util.PSQLException: ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
- at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
- at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
- at org.postgresql.Driver.makeConnection(Driver.java:452)
- at org.postgresql.Driver.connect(Driver.java:254)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
- at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
- at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
- at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
- at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
- at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
- at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
- at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
- at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
- 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:
- Unable to obtain database connection
- ------------------------------------
- SQL State : 28P01
- Error Code : 0
- Message : ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- 03.04 19:24:43.957 INFO [DirectJDKLog:180] - Stopping service [Tomcat]
- 03.04 19:24:43.982 INFO [ConditionEvaluationReportLoggingListener:101] -
- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 03.04 19:24:43.984 ERROR [SpringApplication:842] - Application run failed
- 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:
- Unable to obtain database connection
- ------------------------------------
- SQL State : 28P01
- Error Code : 0
- Message : ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1706)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
- at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
- Caused by: org.flywaydb.core.internal.exception.FlywaySqlException:
- Unable to obtain database connection
- ------------------------------------
- SQL State : 28P01
- Error Code : 0
- Message : ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:57)
- at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
- ... 26 common frames omitted
- Caused by: org.postgresql.util.PSQLException: ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
- at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
- at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
- at org.postgresql.Driver.makeConnection(Driver.java:452)
- at org.postgresql.Driver.connect(Driver.java:254)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
- at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
- at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
- at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
- at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
- at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
- at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
- ... 32 common frames omitted
- Listening for transport dt_socket at address: 8787
- 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
- 03.04 19:25:09.801 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- . ____ _ __ _ _
- /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
- ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
- \\/ ___)| |_)| | | | | || (_| | ) ) ) )
- ' |____| .__|_| |_|_| |_\__, | / / / /
- =========|_|==============|___/=/_/_/_/
- :: Spring Boot :: (v2.0.2.RELEASE)
- 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/'}]}
- 03.04 19:25:11.152 INFO [SpringApplication:663] - The following profiles are active: production
- 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
- 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]]
- 03.04 19:25:12.871 INFO [GenericScope:294] - BeanFactory id=e837e71f-177d-3040-b77e-2a3c18705f6a
- 03.04 19:25:12.925 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 03.04 19:25:13.529 INFO [TomcatWebServer:91] - Tomcat initialized with port(s): 8080 (http)
- 03.04 19:25:13.554 INFO [DirectJDKLog:180] - Initializing ProtocolHandler ["http-nio-8080"]
- 03.04 19:25:13.569 INFO [DirectJDKLog:180] - Starting service [Tomcat]
- 03.04 19:25:13.569 INFO [DirectJDKLog:180] - Starting Servlet Engine: Apache Tomcat/8.5.31
- 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]
- 03.04 19:25:13.707 INFO [DirectJDKLog:180] - Initializing Spring embedded WebApplicationContext
- 03.04 19:25:13.707 INFO [ServletWebServerApplicationContext:285] - Root WebApplicationContext: initialization completed in 2538 ms
- 03.04 19:25:14.030 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
- 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.
- 03.04 19:25:14.052 INFO [DynamicPropertyFactory:281] - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@2827a426
- 03.04 19:25:15.000 INFO [ServletRegistrationBean:185] - Servlet dispatcherServlet mapped to [/]
- 03.04 19:25:15.005 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'characterEncodingFilter' to: [/*]
- 03.04 19:25:15.005 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 03.04 19:25:15.006 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 03.04 19:25:15.006 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'requestContextFilter' to: [/*]
- 03.04 19:25:15.006 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpTraceFilter' to: [/*]
- 03.04 19:25:15.006 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'webMvcMetricsFilter' to: [/*]
- 03.04 19:25:15.175 INFO [Slf4jLog:44] - Flyway Community Edition 5.0.7 by Boxfuse
- 03.04 19:25:15.182 INFO [HikariDataSource:110] - HikariPool-1 - Starting...
- 03.04 19:25:15.222 WARN [ConnectionFactoryImpl:317] - SQLException occurred while connecting to 10.181.0.182:5432
- org.postgresql.util.PSQLException: ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
- at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
- at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
- at org.postgresql.Driver.makeConnection(Driver.java:452)
- at org.postgresql.Driver.connect(Driver.java:254)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
- at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
- at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
- at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
- at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
- at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
- at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
- at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
- at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
- 03.04 19:25:15.224 ERROR [Driver:263] - Connection error:
- org.postgresql.util.PSQLException: ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
- at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
- at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
- at org.postgresql.Driver.makeConnection(Driver.java:452)
- at org.postgresql.Driver.connect(Driver.java:254)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
- at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
- at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
- at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
- at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
- at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
- at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
- at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
- at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
- 03.04 19:25:16.226 ERROR [HikariPool:567] - HikariPool-1 - Exception during pool initialization.
- org.postgresql.util.PSQLException: ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
- at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
- at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
- at org.postgresql.Driver.makeConnection(Driver.java:452)
- at org.postgresql.Driver.connect(Driver.java:254)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
- at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
- at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
- at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
- at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
- at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
- at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
- at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
- at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
- 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:
- Unable to obtain database connection
- ------------------------------------
- SQL State : 28P01
- Error Code : 0
- Message : ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- 03.04 19:25:16.236 INFO [DirectJDKLog:180] - Stopping service [Tomcat]
- 03.04 19:25:16.262 INFO [ConditionEvaluationReportLoggingListener:101] -
- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 03.04 19:25:16.264 ERROR [SpringApplication:842] - Application run failed
- 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:
- Unable to obtain database connection
- ------------------------------------
- SQL State : 28P01
- Error Code : 0
- Message : ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1706)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:579)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1089)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:859)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243)
- at ru.crystals.processing.coupons.category.CategoryApplication.main(CategoryApplication.java:16)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
- Caused by: org.flywaydb.core.internal.exception.FlywaySqlException:
- Unable to obtain database connection
- ------------------------------------
- SQL State : 28P01
- Error Code : 0
- Message : ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:57)
- at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:67)
- at org.flywaydb.core.Flyway.execute(Flyway.java:1634)
- at org.flywaydb.core.Flyway.migrate(Flyway.java:1168)
- at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1765)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1702)
- ... 26 common frames omitted
- Caused by: org.postgresql.util.PSQLException: ÐÐÐÐÐ: полÑзоваÑÐµÐ»Ñ "postgres" не пÑоÑÑл пÑовеÑÐºÑ Ð¿Ð¾Ð´Ð»Ð¸Ð½Ð½Ð¾ÑÑи (по паÑолÑ)
- at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
- at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
- at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
- at org.postgresql.Driver.makeConnection(Driver.java:452)
- at org.postgresql.Driver.connect(Driver.java:254)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
- at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
- at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
- at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460)
- at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
- at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
- at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
- at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:51)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement