This works for me: web.xml <servlet> <servlet-name>QuartzInitializer</servlet-name> <servlet-class>com.baselogic.yoursos.scheduler.QuartzInitializerServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet>
quartz-config.xml: <?xml version="1.0" encoding="ISO-8859-1" ?> <quartz-config> <trigger-group name="AlertSenderTriggerGroup"> <trigger name="AlertSenderTrigger" className="org.quartz.SimpleTrigger"> <set-property property="repeatCount" value="5"/> <set-property property="repeatInterval" value="10"/> <set-property property="startTime" value="04/04/1999 14:00:00"/> <set-property property="endTime" value="04/04/2999 15:00:00"/> </trigger> </trigger-group> <job-group name="AlertSenderJobGroup"> <job name="AlertSenderJob" className="com.baselogic.yoursos.scheduler.jobs.AlertSenderJob" description="Alert sending Job" durability="true" volatility="true" requestsRecovery="true" /> </job-group> <schedule jobGroup="AlertSenderJobGroup" triggerGroup="AlertSenderTriggerGroup" job="AlertSenderJob" trigger="AlertSenderTrigger"/> </quartz-config> -----Original Message----- From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 8:58 PM To: 'Struts Users Mailing List ' Subject: Struts and Quartz Scheduler Has anyone here integrated Quartz with Struts? I'm having a hard time finding examples on this combination. I'm using the latest version of Quartz, 1.4.2, and I'm initializing it in web.xml like this: <servlet> <servlet-name> QuartzInitializer </servlet-name> <display-name> Quartz Initializer Servlet </display-name> <servlet-class> org.quartz.ee.servlet.QuartzInitializerServlet </servlet-class> <load-on-startup> 1 </load-on-startup> <init-param> <param-name>shutdown-on-unload</param-name> <param-value>true</param-value> </init-param> </servlet> Anything you could share with me would be greatly appreciated. If you have a quartz.properties file you could share, info on how you access the QuartInitializerServlet, submit jobs, etc., I'd love to see them. Sample code would be great. If you know of a good document that explains it, please let me know about it. Thanks a bunch, Brian Barnett --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]