I am getting the following error in my application. Apparently its becuase QuartzOraclePool went out of resources.
I am using JobStoreCMT , with 'quartzDataSource' and 'quartzNonManagedDataSoruce'
my question is why org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection() is using 'quartzDataSoruce' instead of 'quartzNonManagedDataSoruce'
No resources currently available in pool "quartzDataSource" to allocate to applications, please increase the size of the pool and retry..
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.dev-scheduler':
weblogic.jdbc.extensions.PoolLimitSQLException: weblogic.common.resourcepool.ResourceLimitException:
No resources currently available in pool QuartzOraclePool to allocate to applications,
please increase the size of the pool and retry..
[See nested exception: weblogic.jdbc.extensions.PoolLimitSQLException: weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool ILOraclePool to allocate to applications, please increase the size of the pool and retry..]
at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:167)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.doCheckin(JobStoreSupport.java:3167)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3811)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:3847)
following are the properties I am configuring through Spring SchedulerFactoryBean. Just to clarify, I am not concerned about the ResourceLimitException, my question is why it is using XA quartzDataSource while it should be using quartzNonManagedDataSoruce().
Thanks for your response in advance.
<prop key="org.quartz.jobStore.class">org.quartz.impl.jdbcjobstore.JobStoreCMT</prop>
<!-- WebLogicOracleDelegate handles Blobs correctly when Oracle is being used from within of Weblogic -->
<prop key="org.quartz.jobStore.driverDelegateClass">org.quartz.impl.jdbcjobstore.oracle.weblogic.WebLogicOracleDelegate</prop>
<prop key="org.quartz.jobStore.tablePrefix">QRTZ_</prop>