Advertisement
Guest User

Untitled

a guest
Jul 8th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. ERROR org.apache.tomcat.jdbc.pool.ConnectionPool - Unable to create initial connections
  2. of pool.
  3. java.sql.SQLException: Unable to load class: org.postgresql.Driver from
  4. ClassLoader:sun.misc.Launcher$AppClassLoader@18b4aac2;
  5. ClassLoader:sun.misc.Launcher$AppClassLoader@18b4aac2
  6.  
  7. dataSource:
  8. pooled: true
  9. jmxExport: true
  10. driverClassName: org.postgresql.Driver
  11. username: root
  12. password: root
  13.  
  14. environments:
  15. development:
  16. dataSource:
  17. dbCreate: create-drop
  18. url: jdbc:postgresql://localhost:5432/supermercado
  19. test:
  20. dataSource:
  21. dbCreate: update
  22. url: jdbc:postgresql://localhost:5432/supermercado
  23. production:
  24. dataSource:
  25. dbCreate: update
  26. url: jdbc:postgresql://localhost:5432/supermercado
  27. properties:
  28. jmxEnabled: true
  29. initialSize: 5
  30. maxActive: 50
  31. minIdle: 5
  32. maxIdle: 25
  33. maxWait: 10000
  34. maxAge: 600000
  35. timeBetweenEvictionRunsMillis: 5000
  36. minEvictableIdleTimeMillis: 60000
  37. validationQuery: SELECT 1
  38. validationQueryTimeout: 3
  39. validationInterval: 15000
  40. testOnBorrow: true
  41. testWhileIdle: true
  42. testOnReturn: false
  43. jdbcInterceptors: ConnectionState
  44. defaultTransactionIsolation: 2 # TRANSACTION_READ_COMMITTED
  45.  
  46. dependencies {
  47. compile "org.springframework.boot:spring-boot-starter-logging"
  48. compile "org.springframework.boot:spring-boot-autoconfigure"
  49. compile "org.grails:grails-core"
  50. compile "org.springframework.boot:spring-boot-starter-actuator"
  51. compile "org.springframework.boot:spring-boot-starter-tomcat"
  52. compile "org.grails:grails-dependencies"
  53. compile "org.grails:grails-web-boot"
  54. compile "org.grails.plugins:cache"
  55. compile "org.grails.plugins:scaffolding"
  56. compile "org.grails.plugins:hibernate4"
  57. compile "org.hibernate:hibernate-ehcache"
  58. compile "org.grails.plugins:spring-security-core:3.1.2"
  59. compile "org.grails.plugins:postgresql-extensions:9.6"
  60. //compile "org.grails.plugins:br-validation:0.3"
  61. console "org.grails:grails-console"
  62. profile "org.grails.profiles:web:3.1.4"
  63. runtime "org.grails.plugins:asset-pipeline"
  64. runtime "com.h2database:h2"
  65. runtime "org.postgresql:postgresql:9.6-4211-jdbc41"
  66. testCompile "org.grails:grails-plugin-testing"
  67. testCompile "org.grails.plugins:geb"
  68. testRuntime "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
  69. testRuntime "net.sourceforge.htmlunit:htmlunit:2.18"
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement