Skip to content
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

Quartz with pgBouncer #250

Closed
OrderOfLion opened this issue Jul 26, 2018 · 2 comments
Closed

Quartz with pgBouncer #250

OrderOfLion opened this issue Jul 26, 2018 · 2 comments

Comments

@OrderOfLion
Copy link

Hi,

We are using quartz 2.1.5, we removed c3p0 as connection pooler from our project due to pgBouncer implementation. When quartz is redirected to pgBouncer it throws error the project fails to start. We can see the quartz use c3p0 as connection pooler so how can we use quartz with pgBouncer?
Can any one help.

Thanks,

@zemian
Copy link
Contributor

zemian commented Nov 14, 2018

In Quartz, we use Java based connection pool, and c3p0 is one such provider. You can change to different pool provider (and there are many in Java world) by config "org.quartz.dataSource.NAME.connectionProvider.class" mentioned here: http://www.quartz-scheduler.org/documentation/quartz-2.2.x/configuration/ConfigDataSources.html

I am not familiar with pgBouncer, but it would have to support Java and JDBC pooling in order for Quartz be able to use it.

@zemian
Copy link
Contributor

zemian commented Dec 28, 2018

Close as not an issue

@zemian zemian closed this as completed Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants