----oscar数据库下调度方式:
org.quartz.scheduler.instanceName=DefaultQuartzScheduler org.quartz.scheduler.rmi.export=false
org.quartz.scheduler.rmi.proxy=false
org.quartz.scheduler.wrapJobExecutionInUserTransaction=false
org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount=10
org.quartz.threadPool.threadPriority=5
org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread=true
org.quartz.jobStore.misfireThreshold=60000
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
#org.quartz.jobStore.driverDelegateClass =org.quartz.impl.jdbcjobstore.StdDriverDelegate
#org.quartz.jobStore.driverDelegateClass =org.quartz.impl.jdbcjobstore.oscar.OscarDelegate
org.quartz.jobStore.useProperties=false
org.quartz.jobStore.txIsolationLevelSerializable=true
org.quartz.jobStore.dataSource=myDS
org.quartz.jobStore.tablePrefix=QRTZ_
org.quartz.dataSource.myDS.driver = com.oscar.Driver
org.quartz.dataSource.myDS.URL = jdbc:oscar://15.13.99.16/osrdb
#org.quartz.dataSource.myDS.driver = oracle.jdbc.OracleDriver
#org.quartz.dataSource.myDS.URL = jdbc:oracle:thin:@183.56.131.74:1521:jcs
org.quartz.dataSource.myDS.user = xxx
org.quartz.dataSource.myDS.password = xxx
org.quartz.dataSource.myDS.maxConnections=10
-----oracle数据库下调度方式:
#============================================================================ # Configure Main Scheduler Properties #============================================================================ org.quartz.scheduler.instanceName = My_Quartz org.quartz.scheduler.instanceId = AUTO #============================================================================ # Configure ThreadPool #============================================================================ org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool org.quartz.threadPool.threadCount = 5 org.quartz.threadPool.threadPriority = 5 org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread = true #============================================================================ # Configure JobStore single #============================================================================ #RAM #org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore #\u8FD9\u662F\u9ED8\u8BA4\u7684 #============================================================================ # Configure JobStore Cluster #============================================================================ org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.oracle.OracleDelegate #org.quartz.jobStore.driverDelegateClass=com.jh.jcs.framework.common.util.OracleDelegate org.quartz.jobStore.tablePrefix = QRTZ_ #org.quartz.jobStore.misfireThreshold = 60000 #org.quartz.jobStore.isClustered = true #org.quartz.jobStore.clusterCheckinInterval = 15000 #\u6307\u5B9A\u6570\u636E\u6E90 org.quartz.jobStore.dataSource = myDS #============================================================================ # Configure dataSource #============================================================================ #dataSource--myDS #org.quartz.dataSource.myDS.driver = com.oscar.Driver #org.quartz.dataSource.myDS.URL = jdbc:oscar://219.141.184.173/osrdb org.quartz.dataSource.myDS.driver = oracle.jdbc.OracleDriver org.quartz.dataSource.myDS.URL = jdbc:oracle:thin:@183.56.131.74:1521:jcs org.quartz.dataSource.myDS.user = xxx org.quartz.dataSource.myDS.password = xxx org.quartz.dataSource.myDS.maxConnections = 10 #cluster set org.quartz.jobStore.isClustered = true org.quartz.jobStore.clusterCheckinInterval =20000