New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jooqdb: Use JDBC Datasource and Connection pools instead of DriverManager.getConnection() #43
Comments
See also #22 |
related to #42 |
Getting this error: `EXCEPTION:java.lang.ClassCastException: org.jooq.impl.DataSourceConnectionProvider cannot be cast to org.jooq.impl.DefaultConnectionProvider JooqHandler.open() - uri:'jdbc:postgresql://localhost:5432/titustech' user:'postgres' dialect:'POSTGRES' FATAL : Transactional database failure FATAL : Exception performing bootstrap. Check that everything is OK.` |
Tested to run in GRAIN, errors encountered `EXCEPTION:org.jooq.exception.DataAccessException: Error getting connection from data source HikariDataSource (HikariPool-1) EXCEPTION:org.cristalise.kernel.process.module.ModuleException: Error importing items for module CristaliseDev FATAL : Exception performing bootstrap. Check that everything is OK.` |
@kovax @taurus227 Please review pull request. |
|
@kovax @taurus227 Please review. |
|
@genetorres working on the documentations related to the issue. Please document things on the server start up |
Sever Start up activity and Activity Execution Diagram |
done with activity execution flow. currently working on server startup |
@taurus227 and @kovax please check the PDF for your review. |
… and auto-commit parameter
…ns to allow multiple gateway open and close
…ed transactions (autocommit=false)
Currently Lookup and ClusterStoreage instance will have their own jdbc connection, as each of them calls the DriverManager.getConnection(). This will not scale in a servlet environment, because it will use the same connection between servlets. This setup also prevents the proper use of TransactionClusterStore (see bug #42)
The text was updated successfully, but these errors were encountered: