Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 18.10 11:44:58.034 INFO [HikariDataSource:110] - DbSegmentsPool - Starting...
- 18.10 11:44:59.093 ERROR [HikariPool:574] - DbSegmentsPool - Exception during pool initialization.
- org.postgresql.util.PSQLException: The connection attempt failed.
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:292)
- 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:454)
- at org.postgresql.Driver.connect(Driver.java:256)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136)
- at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369)
- at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198)
- at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467)
- at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541)
- at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
- at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
- at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:157)
- at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115)
- at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78)
- at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:371)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
- at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$findAllStoredProceduresBy$7(JdbcStoredProcedureRepository.java:135)
- at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
- at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
- at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
- at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: java.io.EOFException: null
- at org.postgresql.core.PGStream.receiveChar(PGStream.java:308)
- at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:405)
- at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:94)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:192)
- ... 25 common frames omitted
- 18.10 11:44:59.102 ERROR [DatabaseConfiguration:78] - Cannot get connection to database "segments"
- org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.postgresql.util.PSQLException: The connection attempt failed.
- at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:81)
- at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:371)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
- at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$findAllStoredProceduresBy$7(JdbcStoredProcedureRepository.java:135)
- at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
- at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
- at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
- at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:292)
- 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:454)
- at org.postgresql.Driver.connect(Driver.java:256)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136)
- at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369)
- at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198)
- at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467)
- at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541)
- at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
- at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
- at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:157)
- at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115)
- at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78)
- ... 11 common frames omitted
- Caused by: java.io.EOFException: null
- at org.postgresql.core.PGStream.receiveChar(PGStream.java:308)
- at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:405)
- at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:94)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:192)
- ... 25 common frames omitted
- 18.10 11:44:59.105 WARN [AbstractApplicationContext:557] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseConfiguration': Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.postgresql.util.PSQLException: The connection attempt failed.
- 18.10 11:44:59.132 INFO [ConditionEvaluationReportLoggingListener:142] -
- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 18.10 11:44:59.136 ERROR [SpringApplication:858] - Application run failed
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseConfiguration': Invocation of init method failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.postgresql.util.PSQLException: The connection attempt failed.
- at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:414)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1754)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
- at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:67)
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
- at ru.crystals.dbapi.service.DBApiApplication.main(DBApiApplication.java:11)
- 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.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.postgresql.util.PSQLException: The connection attempt failed.
- at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:81)
- at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:371)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
- at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$findAllStoredProceduresBy$7(JdbcStoredProcedureRepository.java:135)
- at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
- at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
- at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
- at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:292)
- 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:454)
- at org.postgresql.Driver.connect(Driver.java:256)
- at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136)
- at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369)
- at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198)
- at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467)
- at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541)
- at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
- at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
- at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:157)
- at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115)
- at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78)
- ... 11 common frames omitted
- Caused by: java.io.EOFException: null
- at org.postgresql.core.PGStream.receiveChar(PGStream.java:308)
- at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:405)
- at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:94)
- at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:192)
- ... 25 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement