Skip to content

No setter for property 'discardIdleConnectionsSeconds' #264

Closed

Description

@lcardito

Hey guys,

when defining the property

org.quartz.dataSource.NAME.discardIdleConnectionsSeconds = 60

as per documentation ConfigDataSources, we're getting the following error:

Caused by: org.quartz.SchedulerException: Could not initialize DataSource: schedule
	at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1042)
	at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1559)
	... 16 common frames omitted

Looks like the issue has been reported a while back on JIRA with the workaround:

org.quartz.dataSource.NAME.maxIdleTime = 60

Should the documentation be updated perhaps?

Thanks!

Activity

  1. zemian commented on Dec 18, 2018

    @zemian
    Contributor

    Can you share your quartz.properties that has this problem? I think only Hikari Pool supports this property.

  2. zemian commented on Dec 29, 2018

    @zemian
    Contributor

    This problem is very similar to #281. We can make additional changes to similar fix to handle this property as well.

  3. self-assigned this
    on Dec 29, 2018
  4. added a commit that references this issue on Dec 29, 2018
  5. zemian commented on Dec 29, 2018

    @zemian
    Contributor

    Resolved ece2753

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions