pveselov

exception trace

Mar 27th, 2018
557
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. at com.excelfore.api.impl.TomcatJ2EEProvider.createDataSource(TomcatJ2EEProvider.java:89)
  2. at com.excelfore.util.ThreadContext.<clinit>(ThreadContext.java:220)
  3. ... 17 more
  4. Caused by: java.sql.SQLException
  5. at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:734)
  6. at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:645)
  7. at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:466)
  8. at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:143)
  9. at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:115)
  10. at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:102)
  11. at org.apache.tomcat.jdbc.pool.DataSourceFactory.createDataSource(DataSourceFactory.java:553)
  12. at org.apache.tomcat.jdbc.pool.DataSourceFactory.createDataSource(DataSourceFactory.java:542)
  13. ... 23 more
  14. Caused by: java.lang.reflect.UndeclaredThrowableException
  15. at com.sun.proxy.$Proxy10.getPooledConnection(Unknown Source)
  16. at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDataSource(PooledConnection.java:251)
  17. at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:198)
  18. at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:711)
  19. ... 30 more
  20. Caused by: java.lang.reflect.InvocationTargetException
  21. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  22. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  23. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  24. at java.lang.reflect.Method.invoke(Method.java:498)
  25. at com.excelfore.api.impl.PostgresDBProvider.lambda$null$0(PostgresDBProvider.java:360)
  26. at com.excelfore.alert.Alerter.wrapR(Alerter.java:100)
  27. at com.excelfore.api.impl.PostgresDBProvider.lambda$makeDataSourceForPool$1(PostgresDBProvider.java:360)
  28. ... 34 more
  29. Caused by: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
  30. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:262)
  31. at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:52)
  32. at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:216)
  33. at org.postgresql.Driver.makeConnection(Driver.java:404)
  34. at org.postgresql.Driver.connect(Driver.java:272)
  35. at java.sql.DriverManager.getConnection(DriverManager.java:664)
  36. at java.sql.DriverManager.getConnection(DriverManager.java:247)
Advertisement
Add Comment
Please, Sign In to add comment