Advertisement
fedorm

Untitled

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