-
-
Save udhayamgit/9d8741d58229de86076e1e5c3f27921f to your computer and use it in GitHub Desktop.
Example of Quartz configuration for Websphere Application Server 8.5.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #============================================================================ | |
| # Configure Main Scheduler Properties | |
| #============================================================================ | |
| org.quartz.scheduler.instanceName = myQuartzScheduler | |
| org.quartz.scheduler.instanceId = AUTO | |
| org.quartz.scheduler.skipUpdateCheck = true | |
| #added user transaction jndi | |
| org.quartz.scheduler.userTransactionURL=jta/usertransaction | |
| org.quartz.scheduler.wrapJobExecutionInUserTransaction=false | |
| # org.quartz.scheduler.threadsInheritContextClassLoaderOfInitializer=true | |
| #============================================================================ | |
| # Configure ThreadPool | |
| #============================================================================ | |
| org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool | |
| org.quartz.threadPool.threadCount = 10 | |
| org.quartz.threadPool.threadPriority = 4 | |
| #============================================================================ | |
| # Configure JobStore | |
| #============================================================================ | |
| org.quartz.jobStore.misfireThreshold = 59000 | |
| org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreCMT | |
| org.quartz.jobStore.dataSource=Quartz-DS-XA | |
| org.quartz.jobStore.nonManagedTXDataSource=Quartz-DS | |
| org.quartz.jobStore.tablePrefix = TM_ | |
| org.quartz.jobStore.isClustered = false | |
| org.quartz.jobStore.clusterCheckinInterval = 20000 | |
| org.quartz.jobStore.dontSetAutoCommitFalse=true | |
| org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate | |
| #============================================================================ | |
| # Configure Datasources | |
| #============================================================================ | |
| org.quartz.dataSource.Quartz-DS.jndiURL=jdbc/myds-noXA | |
| org.quartz.dataSource.Quartz-DS-XA.jndiURL=jdbc/myds | |
| #============================================================================ | |
| # Configure Plugins | |
| #============================================================================ | |
| org.quartz.plugin.shutdownHook.class = org.quartz.plugins.management.ShutdownHookPlugin | |
| #============================================================================ | |
| # Configure specific ThreadExecutor for Websphere 7/8 | |
| #============================================================================ | |
| org.quartz.threadExecutor.class=org.quartz.custom.WorkManagerThreadExecutor | |
| org.quartz.threadExecutor.workManagerName=wm/default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment