在我的Web应用程序中,在我的weblogic 8.1服务器启动期间未调用调度程序。我的调度程序的DefaultQuartzScheduler'insted
位于我的quartz.properties
。
相同的代码和设置在我的本地环境中正常运行。
请帮助我启动调度程序的原因是什么?
提前致谢..!
与我的本地环境相比的额外日志: 2012-11-01 04:31:23,257 [ExecuteThread:'0'代表队列:'weblogic.kernel.System'] INFO org.quartz.simpl.SimpleThreadPool -Job执行线程将使用线程的类加载器:ExecuteThread:'0 'for queue:'weblogic.kernel.System
日志:
2012-11-01 04:31:23,180 [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] INFO org.apache.struts.util.PropertyMessageResources -Initializing, config='ftp', returnNull=true
2012-11-01 04:31:23,245 [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] INFO org.apache.struts.tiles.xmlDefinition.I18nFactorySet -Factory initialized from file '/WEB-INF/tileDefinitions.xml'.
2012-11-01 04:31:23,245 [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] INFO org.apache.struts.tiles.TilesPlugin -Tiles definition factory loaded for module ''.
2012-11-01 04:31:23,257 [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] INFO org.quartz.simpl.SimpleThreadPool -Job execution threads will use class loader of thread: ExecuteThread: '0' for queue: 'weblogic.kernel.System'
2012-11-01 04:31:23,260 [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] INFO org.quartz.simpl.RAMJobStore -RAMJobStore initialized.
2012-11-01 04:31:23,261 [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] INFO org.quartz.impl.StdSchedulerFactory -Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
2012-11-01 04:31:23,261 [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] INFO org.quartz.impl.StdSchedulerFactory -Quartz scheduler version: 1.4.5
2012-11-01 04:31:23,261 [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] INFO org.quartz.core.QuartzScheduler -Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started
2012-11-01 04:31:23,263 [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] INFO EMD -DefaultQuartzScheduler Scheduler Successfully Started
答案 0 :(得分:0)
从日志看起来,Quartz根本找不到你的quartz.properties文件(“从默认资源文件初始化...”)。最可能的两个原因是: