Advertisement
fedorm

Untitled

Oct 18th, 2019
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 12.18 KB | None | 0 0
  1. 18.10 11:44:58.034 INFO [HikariDataSource:110] - DbSegmentsPool - Starting...
  2. 18.10 11:44:59.093 ERROR [HikariPool:574] - DbSegmentsPool - Exception during pool initialization.
  3. org.postgresql.util.PSQLException: The connection attempt failed.
  4.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:292)
  5.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  6.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  7.     at org.postgresql.Driver.makeConnection(Driver.java:454)
  8.     at org.postgresql.Driver.connect(Driver.java:256)
  9.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136)
  10.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369)
  11.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198)
  12.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467)
  13.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541)
  14.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  15.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  16.     at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:157)
  17.     at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115)
  18.     at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78)
  19.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:371)
  20.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  21.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$findAllStoredProceduresBy$7(JdbcStoredProcedureRepository.java:135)
  22.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  23.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  24.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  25.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  26.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  27.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  28.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  29.     at java.lang.Thread.run(Thread.java:748)
  30. Caused by: java.io.EOFException: null
  31.     at org.postgresql.core.PGStream.receiveChar(PGStream.java:308)
  32.     at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:405)
  33.     at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:94)
  34.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:192)
  35.     ... 25 common frames omitted
  36. 18.10 11:44:59.102 ERROR [DatabaseConfiguration:78] - Cannot get connection to database "segments"
  37. org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.postgresql.util.PSQLException: The connection attempt failed.
  38.     at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:81)
  39.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:371)
  40.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  41.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$findAllStoredProceduresBy$7(JdbcStoredProcedureRepository.java:135)
  42.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  43.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  44.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  45.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  46.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  47.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  48.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  49.     at java.lang.Thread.run(Thread.java:748)
  50. Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
  51.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:292)
  52.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  53.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  54.     at org.postgresql.Driver.makeConnection(Driver.java:454)
  55.     at org.postgresql.Driver.connect(Driver.java:256)
  56.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136)
  57.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369)
  58.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198)
  59.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467)
  60.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541)
  61.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  62.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  63.     at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:157)
  64.     at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115)
  65.     at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78)
  66.     ... 11 common frames omitted
  67. Caused by: java.io.EOFException: null
  68.     at org.postgresql.core.PGStream.receiveChar(PGStream.java:308)
  69.     at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:405)
  70.     at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:94)
  71.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:192)
  72.     ... 25 common frames omitted
  73. 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.
  74. 18.10 11:44:59.132 INFO [ConditionEvaluationReportLoggingListener:142] -
  75.  
  76. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  77. 18.10 11:44:59.136 ERROR [SpringApplication:858] - Application run failed
  78. 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.
  79.     at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
  80.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:414)
  81.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1754)
  82.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593)
  83.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
  84.     at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
  85.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
  86.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
  87.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
  88.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849)
  89.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
  90.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
  91.     at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:67)
  92.     at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
  93.     at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
  94.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
  95.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
  96.     at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
  97.     at ru.crystals.dbapi.service.DBApiApplication.main(DBApiApplication.java:11)
  98.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  99.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  100.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  101.     at java.lang.reflect.Method.invoke(Method.java:498)
  102.     at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
  103.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
  104.     at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
  105.     at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
  106. Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.postgresql.util.PSQLException: The connection attempt failed.
  107.     at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:81)
  108.     at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:371)
  109.     at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
  110.     at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$findAllStoredProceduresBy$7(JdbcStoredProcedureRepository.java:135)
  111.     at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
  112.     at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
  113.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
  114.     at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
  115.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  116.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  117.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  118.     at java.lang.Thread.run(Thread.java:748)
  119. Caused by: org.postgresql.util.PSQLException: The connection attempt failed.
  120.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:292)
  121.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
  122.     at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
  123.     at org.postgresql.Driver.makeConnection(Driver.java:454)
  124.     at org.postgresql.Driver.connect(Driver.java:256)
  125.     at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136)
  126.     at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369)
  127.     at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198)
  128.     at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467)
  129.     at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541)
  130.     at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
  131.     at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
  132.     at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:157)
  133.     at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:115)
  134.     at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:78)
  135.     ... 11 common frames omitted
  136. Caused by: java.io.EOFException: null
  137.     at org.postgresql.core.PGStream.receiveChar(PGStream.java:308)
  138.     at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:405)
  139.     at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:94)
  140.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:192)
  141.     ... 25 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement