Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Listening for transport dt_socket at address: 8787
- 12.04 14:13:57.350 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@503d687a: startup date [Fri Apr 12 14:13:57 MSK 2019]; root of context hierarchy
- 12.04 14:13:59.252 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- . ____ _ __ _ _
- /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
- ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
- \\/ ___)| |_)| | | | | || (_| | ) ) ) )
- ' |____| .__|_| |_|_| |_\__, | / / / /
- =========|_|==============|___/=/_/_/_/
- :: Spring Boot :: (v2.0.2.RELEASE)
- 12.04 14:14:02.280 INFO [PropertySourceBootstrapConfiguration:98] - Located property source: CompositePropertySource {name='consul', propertySources=[ConsulPropertySource {name='config/coupons-category-service-test,production/'}, ConsulPropertySource {name='config/coupons-category-service-test/'}, ConsulPropertySource {name='config/application,production/'}, ConsulPropertySource {name='config/application/'}]}
- 12.04 14:14:02.289 INFO [SpringApplication:663] - The following profiles are active: production
- 12.04 14:14:02.373 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7216fb24: startup date [Fri Apr 12 14:14:02 MSK 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@503d687a
- 12.04 14:14:04.773 INFO [DefaultListableBeanFactory:824] - Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Generic; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]]
- 12.04 14:14:08.070 INFO [GenericScope:294] - BeanFactory id=e837e71f-177d-3040-b77e-2a3c18705f6a
- 12.04 14:14:08.192 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 12.04 14:14:09.810 INFO [TomcatWebServer:91] - Tomcat initialized with port(s): 8080 (http)
- 12.04 14:14:09.869 INFO [DirectJDKLog:180] - Initializing ProtocolHandler ["http-nio-8080"]
- 12.04 14:14:09.929 INFO [DirectJDKLog:180] - Starting service [Tomcat]
- 12.04 14:14:09.929 INFO [DirectJDKLog:180] - Starting Servlet Engine: Apache Tomcat/8.5.31
- 12.04 14:14:10.008 INFO [DirectJDKLog:180] - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
- 12.04 14:14:10.328 INFO [DirectJDKLog:180] - Initializing Spring embedded WebApplicationContext
- 12.04 14:14:10.328 INFO [ServletWebServerApplicationContext:285] - Root WebApplicationContext: initialization completed in 7955 ms
- 12.04 14:14:11.240 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
- 12.04 14:14:11.240 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
- 12.04 14:14:11.267 INFO [DynamicPropertyFactory:281] - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@4b2a8a6e
- 12.04 14:14:13.273 INFO [ServletRegistrationBean:185] - Servlet dispatcherServlet mapped to [/]
- 12.04 14:14:13.295 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'characterEncodingFilter' to: [/*]
- 12.04 14:14:13.296 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 12.04 14:14:13.296 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 12.04 14:14:13.296 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'requestContextFilter' to: [/*]
- 12.04 14:14:13.296 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpTraceFilter' to: [/*]
- 12.04 14:14:13.297 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'webMvcMetricsFilter' to: [/*]
- 12.04 14:14:13.801 INFO [Slf4jLog:44] - Flyway Community Edition 5.0.7 by Boxfuse
- 12.04 14:14:13.880 INFO [HikariDataSource:110] - HikariPool-1 - Starting...
- Listening for transport dt_socket at address: 8787
- 12.04 14:14:49.521 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@7e9131d5: startup date [Fri Apr 12 14:14:49 MSK 2019]; root of context hierarchy
- 12.04 14:14:50.869 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- . ____ _ __ _ _
- /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
- ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
- \\/ ___)| |_)| | | | | || (_| | ) ) ) )
- ' |____| .__|_| |_|_| |_\__, | / / / /
- =========|_|==============|___/=/_/_/_/
- :: Spring Boot :: (v2.0.2.RELEASE)
- 12.04 14:14:53.357 INFO [PropertySourceBootstrapConfiguration:98] - Located property source: CompositePropertySource {name='consul', propertySources=[ConsulPropertySource {name='config/coupons-category-service-test,production/'}, ConsulPropertySource {name='config/coupons-category-service-test/'}, ConsulPropertySource {name='config/application,production/'}, ConsulPropertySource {name='config/application/'}]}
- 12.04 14:14:53.374 INFO [SpringApplication:663] - The following profiles are active: production
- 12.04 14:14:53.439 INFO [AbstractApplicationContext:590] - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@18cebaa5: startup date [Fri Apr 12 14:14:53 MSK 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@7e9131d5
- 12.04 14:14:55.463 INFO [DefaultListableBeanFactory:824] - Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Generic; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]]
- 12.04 14:14:58.334 INFO [GenericScope:294] - BeanFactory id=e837e71f-177d-3040-b77e-2a3c18705f6a
- 12.04 14:14:58.563 INFO [AutowiredAnnotationBeanPostProcessor:154] - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
- 12.04 14:15:00.107 INFO [TomcatWebServer:91] - Tomcat initialized with port(s): 8080 (http)
- 12.04 14:15:00.143 INFO [DirectJDKLog:180] - Initializing ProtocolHandler ["http-nio-8080"]
- 12.04 14:15:00.189 INFO [DirectJDKLog:180] - Starting service [Tomcat]
- 12.04 14:15:00.190 INFO [DirectJDKLog:180] - Starting Servlet Engine: Apache Tomcat/8.5.31
- 12.04 14:15:00.225 INFO [DirectJDKLog:180] - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
- 12.04 14:15:00.566 INFO [DirectJDKLog:180] - Initializing Spring embedded WebApplicationContext
- 12.04 14:15:00.566 INFO [ServletWebServerApplicationContext:285] - Root WebApplicationContext: initialization completed in 7127 ms
- 12.04 14:15:01.653 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
- 12.04 14:15:01.653 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
- 12.04 14:15:01.712 INFO [DynamicPropertyFactory:281] - DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@2aac24c7
- 12.04 14:15:04.598 INFO [ServletRegistrationBean:185] - Servlet dispatcherServlet mapped to [/]
- 12.04 14:15:04.623 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'characterEncodingFilter' to: [/*]
- 12.04 14:15:04.623 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 12.04 14:15:04.624 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpPutFormContentFilter' to: [/*]
- 12.04 14:15:04.624 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'requestContextFilter' to: [/*]
- 12.04 14:15:04.624 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'httpTraceFilter' to: [/*]
- 12.04 14:15:04.624 INFO [AbstractFilterRegistrationBean:244] - Mapping filter: 'webMvcMetricsFilter' to: [/*]
- 12.04 14:15:05.193 INFO [Slf4jLog:44] - Flyway Community Edition 5.0.7 by Boxfuse
- 12.04 14:15:05.209 INFO [HikariDataSource:110] - HikariPool-1 - Starting...
- 12.04 14:15:15.353 WARN [ConnectionFactoryImpl:317] - IOException occurred while connecting to master.cluster.service.consul:5432
- java.net.SocketTimeoutException: connect timed out
- at java.net.PlainSocketImpl.socketConnect(Native Method)
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at org.postgresql.core.PGStream.<init>(PGStream.java:69)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)
- 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)
- 12.04 14:15:15.358 ERROR [Driver:263] - Connection error:
- org.postgresql.util.PSQLException: The connection attempt failed.
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)
- 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)
- Caused by: java.net.SocketTimeoutException: connect timed out
- at java.net.PlainSocketImpl.socketConnect(Native Method)
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at org.postgresql.core.PGStream.<init>(PGStream.java:69)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)
- ... 45 common frames omitted
- 12.04 14:15:16.359 ERROR [HikariPool:567] - HikariPool-1 - Exception during pool initialization.
- org.postgresql.util.PSQLException: The connection attempt failed.
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)
- 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)
- Caused by: java.net.SocketTimeoutException: connect timed out
- at java.net.PlainSocketImpl.socketConnect(Native Method)
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at org.postgresql.core.PGStream.<init>(PGStream.java:69)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)
- ... 45 common frames omitted
- 12.04 14:15:16.362 WARN [AbstractApplicationContext:558] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.internal.exception.FlywaySqlException:
- Unable to obtain database connection
- ------------------------------------
- SQL State : 08001
- Error Code : 0
- Message : The connection attempt failed.
- 12.04 14:15:16.366 INFO [DirectJDKLog:180] - Stopping service [Tomcat]
- 12.04 14:15:16.401 INFO [ConditionEvaluationReportLoggingListener:101] -
- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 12.04 14:15:16.404 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 : 08001
- Error Code : 0
- Message : The connection attempt failed.
- 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 : 08001
- Error Code : 0
- Message : The connection attempt failed.
- 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: The connection attempt failed.
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257)
- 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
- Caused by: java.net.SocketTimeoutException: connect timed out
- at java.net.PlainSocketImpl.socketConnect(Native Method)
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at org.postgresql.core.PGStream.<init>(PGStream.java:69)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)
- ... 45 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement