Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR org.apache.tomcat.jdbc.pool.ConnectionPool - Unable to create initial connections
- of pool.
- java.sql.SQLException: Unable to load class: org.postgresql.Driver from
- ClassLoader:sun.misc.Launcher$AppClassLoader@18b4aac2;
- ClassLoader:sun.misc.Launcher$AppClassLoader@18b4aac2
- dataSource:
- pooled: true
- jmxExport: true
- driverClassName: org.postgresql.Driver
- username: root
- password: root
- environments:
- development:
- dataSource:
- dbCreate: create-drop
- url: jdbc:postgresql://localhost:5432/supermercado
- test:
- dataSource:
- dbCreate: update
- url: jdbc:postgresql://localhost:5432/supermercado
- production:
- dataSource:
- dbCreate: update
- url: jdbc:postgresql://localhost:5432/supermercado
- properties:
- jmxEnabled: true
- initialSize: 5
- maxActive: 50
- minIdle: 5
- maxIdle: 25
- maxWait: 10000
- maxAge: 600000
- timeBetweenEvictionRunsMillis: 5000
- minEvictableIdleTimeMillis: 60000
- validationQuery: SELECT 1
- validationQueryTimeout: 3
- validationInterval: 15000
- testOnBorrow: true
- testWhileIdle: true
- testOnReturn: false
- jdbcInterceptors: ConnectionState
- defaultTransactionIsolation: 2 # TRANSACTION_READ_COMMITTED
- dependencies {
- compile "org.springframework.boot:spring-boot-starter-logging"
- compile "org.springframework.boot:spring-boot-autoconfigure"
- compile "org.grails:grails-core"
- compile "org.springframework.boot:spring-boot-starter-actuator"
- compile "org.springframework.boot:spring-boot-starter-tomcat"
- compile "org.grails:grails-dependencies"
- compile "org.grails:grails-web-boot"
- compile "org.grails.plugins:cache"
- compile "org.grails.plugins:scaffolding"
- compile "org.grails.plugins:hibernate4"
- compile "org.hibernate:hibernate-ehcache"
- compile "org.grails.plugins:spring-security-core:3.1.2"
- compile "org.grails.plugins:postgresql-extensions:9.6"
- //compile "org.grails.plugins:br-validation:0.3"
- console "org.grails:grails-console"
- profile "org.grails.profiles:web:3.1.4"
- runtime "org.grails.plugins:asset-pipeline"
- runtime "com.h2database:h2"
- runtime "org.postgresql:postgresql:9.6-4211-jdbc41"
- testCompile "org.grails:grails-plugin-testing"
- testCompile "org.grails.plugins:geb"
- testRuntime "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
- testRuntime "net.sourceforge.htmlunit:htmlunit:2.18"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement