And com.baselogic.yoursos.scheduler.jobs.AlertSenderJob is in my WAR under web-inf/classes
--- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- ----- Original Message ----- From: "Mick Knutson" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September 24, 2003 4:11 PM Subject: Re: Quartz error and Struts plugin for struts > I also have the following execute method which is not called: > > /** > * Method execute > * > * @param jobExecCtx > * @throws org.quartz.JobExecutionException > */ > public void execute( JobExecutionContext jobExecCtx ) > throws org.quartz.JobExecutionException > { > log.info("Executing AlertSenderJob. This is the only operation this > job performs."); > } > > I also have the following quartz-config.xml: > > <?xml version="1.0" encoding="ISO-8859-1" ?> > <quartz-config> > <trigger-group> > <trigger > name="alertSenderTrigger" > className="org.quartz.SimpleTrigger" > description="Trigger for sending Alerts when they are due" > volatility="false" > misfireConstant="INSTRUCTION_RE_EXECUTE_JOB"> > <set-property > property="repeatCount" > value="900" /> > <set-property > property="repeatInterval" > value="5000" /> > </trigger> > </trigger-group> > > <job-group> > <job name="alertSenderJob" > className="com.baselogic.yoursos.scheduler.jobs.AlertSenderJob" /> > </job-group> > > > <schedule job="alertSenderJob" > trigger="alertSenderTrigger" /> > > </quartz-config> > > > --- > Thanks > Mick Knutson > http://www.baselogic.com > > +001(805) 563-0666 Office > +001 (708) 570-2772 Fax > --- > > ----- Original Message ----- > From: "Mick Knutson" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Wednesday, September 24, 2003 4:05 PM > Subject: Re: Quartz error and Struts plugin for struts > > > > OK, I seem to be a little further. > > > > Here is the next error I get: > > =================== > > 16:03:11,515 INFO [StdSchedulerFactory] Quartz scheduler > 'QuartzScheduler' > > initialized from default resource file in Quartz package: > > 'quartz.properties' > > 16:03:11,515 INFO [StdSchedulerFactory] Quartz scheduler version: 1.2.2 > > 16:03:11,578 ERROR [Digester] Begin event threw exception > > java.lang.NullPointerException > > at org.quartz.JobDetail.toString(JobDetail.java:381) > > at java.lang.String.valueOf(String.java:2177) > > at java.lang.StringBuffer.append(StringBuffer.java:361) > > at > > org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:792) > > at > > > org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule.java:2 > > 59) > > at org.apache.commons.digester.Rule.begin(Rule.java:200) > > at > > org.apache.commons.digester.Digester.startElement(Digester.java:1273) > > at > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1535) > > at org.apache.crimson.parser.Parser2.content(Parser2.java:1824) > > at > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1552) > > at org.apache.crimson.parser.Parser2.content(Parser2.java:1824) > > at > org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1552) > > at > org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:534) > > at org.apache.crimson.parser.Parser2.parse(Parser2.java:318) > > at > > org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) > > at org.apache.commons.digester.Digester.parse(Digester.java:1548) > > at > > > com.jgsullivan.quartz.SchedulerBuilder.buildScheduler(SchedulerBuilder.java: > > 199) > > at > > > com.jgsullivan.quartz.SchedulerBuilder.buildScheduler(SchedulerBuilder.java: > > 176) > > at > > com.jgsullivan.struts.plugins.QuartzPlugIn.init(QuartzPlugIn.java:97) > > at > > com.jgsullivan.struts.plugins.PlugInSupport.init(PlugInSupport.java:276) > > at > > > org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java: > > 1158) > > at > > org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) > > at > > > com.baselogic.yoursos.struts.ExtendedActionServlet.init(ExtendedActionServle > > t.java:23) > > at javax.servlet.GenericServlet.init(GenericServlet.java:256) > > at > > org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219) > > at > > > org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j > > ava:436) > > at > > > org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplic > > ationHandler.java:150) > > at > > > org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext. > > java:442) > > at > > > org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.j > > ava:85) > > at > > > org.jboss.jetty.JBossWebApplicationContext.start(JBossWebApplicationContext. > > java:89) > > at org.jboss.jetty.Jetty.deploy(Jetty.java:331) > > at > org.jboss.jetty.JettyService.performDeploy(JettyService.java:242) > > at > > org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:301) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:806) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591) > > at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > > .java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at > > > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat > > cher.java:284) > > at > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) > > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > > at $Proxy3.deploy(Unknown Source) > > at > > > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne > > r.java:435) > > at > > > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner. > > java:561) > > at > > > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan > > ============================================================== > > > > --- > > Thanks > > Mick Knutson > > http://www.baselogic.com > > > > +001(805) 563-0666 Office > > +001 (708) 570-2772 Fax > > --- > > > > ----- Original Message ----- > > From: "Holman, Cal" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Wednesday, September 24, 2003 2:35 PM > > Subject: RE: Quartz error and Struts plugin for struts > > > > > > Mick>> Yes I am using the plug in. The properties configure Quartz - the > > type of scheduler, misfire instructions, and other more advanced stuff. > It > > my not e necessary - ill try without. I really only have the followling > > items in the file: > > > > org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool > > org.quartz.threadPool.threadCount = 5 > > org.quartz.threadPool.threadPriority = 4 > > org.quartz.jobStore.misfireThreshold = 5000 > > org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore > > > > The quartz-config used with the plugin is for configuring the actual > > schedule and job to fire on that schedule. So for all my sites I have a > > common quartz.properties but each web app has it's own set of jobs and > > independent schedules. > > > > Cal > > > > http://www.calandva.com/ Last update 08/01/03 > > > > > > -----Original Message----- > > From: Mick Knutson [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 24, 2003 17:20 > > To: Struts Users Mailing List > > Subject: Re: Quartz error and Struts plugin for struts > > > > Are you using the quartz plugin? > > In the examples, I did not see the quartz.properties. > > I thought the quartz-config.xml is the replacement. > > > > --- > > Thanks > > Mick Knutson > > http://www.baselogic.com > > > > +001(805) 563-0666 Office > > +001 (708) 570-2772 Fax > > --- > > > > ----- Original Message ----- > > From: "Holman, Cal" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Wednesday, September 24, 2003 1:58 PM > > Subject: RE: Quartz error and Struts plugin for struts > > > > > > In the war > > > > .jars in the web-inf/lib > > quartz-config in web-inf > > quartz.properties in web-inf/classes > > > > Cal > > > > http://www.calandva.com/ Last update 08/01/03 > > > > -----Original Message----- > > From: Mick Knutson [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 24, 2003 15:29 > > To: struts > > Subject: Quartz error and Struts plugin for struts > > > > I am having an error with the quartz plugin and need some help. > > Below is the error I get. > > I have an EAR, with a common.jar, ejbs.jar and an app.war. > > Where is quartz.jar, jgs-struts-0.2-dev.jar, jgs-quartz-0.2-dev.jar and > the > > quartz-config.xml suppose to go in the above hierarchy? > > > > > > > > =========================================== > > 11:51:52,625 ERROR [MainDeployer] could not start deployment: > > > file:/C:/usr/local/jboss-3.0.7/server/default/tmp/deploy/server/default/deploy/yoursos-a > > pp.ear/31.yoursos-app.ear-contents/yoursos-web-application.war > > org.jboss.deployment.DeploymentException: Error initializing Quartz > > scheduler; - nested throwable: (javax.servlet.ServletException: Error > > initializing > > Quartz scheduler) > > at org.jboss.jetty.Jetty.deploy(Jetty.java:353) > > at > org.jboss.jetty.JettyService.performDeploy(JettyService.java:242) > > at > > org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:301) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:806) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591) > > at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > > .java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at > > > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat > > cher.java:284) > > at > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) > > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > > at $Proxy3.deploy(Unknown Source) > > at > > > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne > > r.java:435) > > at > > > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner. > > java:561) > > at > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThr > > ead.doScan(AbstractDeploymentScanner.java:217) > > at > > > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab > > stractDeploymentScanner.java:230) > > at > > > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs > > tractDeploymentScanner.java:207) > > Caused by: javax.servlet.ServletException: Error initializing Quartz > > scheduler > > at > > com.jgsullivan.struts.plugins.QuartzPlugIn.init(QuartzPlugIn.java:103) > > at > > com.jgsullivan.struts.plugins.PlugInSupport.init(PlugInSupport.java:276) > > at > > > org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java: > > 1158) > > at > > org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) > > at > > > com.baselogic.yoursos.struts.ExtendedActionServlet.init(ExtendedActionServle > > t.java:23) > > at javax.servlet.GenericServlet.init(GenericServlet.java:256) > > at > > org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219) > > at > > > org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j > > ava:436) > > at > > > org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplic > > ationHandler.java:150) > > at > > > org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext. > > java:442) > > at > > > org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.j > > ava:85) > > at > > > org.jboss.jetty.JBossWebApplicationContext.start(JBossWebApplicationContext. > > java:89) > > at org.jboss.jetty.Jetty.deploy(Jetty.java:331) > > ... 18 more > > 11:51:52,921 ERROR [MainDeployer] could not start deployment: > > file:/C:/usr/local/jboss-3.0.7/server/default/deploy/yoursos-app.ear > > org.jboss.deployment.DeploymentException: Error initializing Quartz > > scheduler; - nested throwable: (javax.servlet.ServletException: Error > > initializing > > Quartz scheduler) > > at org.jboss.jetty.Jetty.deploy(Jetty.java:353) > > at > org.jboss.jetty.JettyService.performDeploy(JettyService.java:242) > > at > > org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:301) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:806) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591) > > at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > > .java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at > > > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat > > cher.java:284) > > at > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) > > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > > at $Proxy3.deploy(Unknown Source) > > at > > > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne > > r.java:435) > > at > > > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner. > > java:561) > > at > > > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan( > > AbstractDeploymentScanner.java:217) > > at > > > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab > > stractDeploymentScanner.java:230) > > at > > > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs > > tractDeploymentScanner.java:207) > > Caused by: javax.servlet.ServletException: Error initializing Quartz > > scheduler > > at > > com.jgsullivan.struts.plugins.QuartzPlugIn.init(QuartzPlugIn.java:103) > > at > > com.jgsullivan.struts.plugins.PlugInSupport.init(PlugInSupport.java:276) > > at > > > org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java: > > 1158) > > at > > org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) > > at > > > com.baselogic.yoursos.struts.ExtendedActionServlet.init(ExtendedActionServle > > t.java:23) > > at javax.servlet.GenericServlet.init(GenericServlet.java:256) > > at > > org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219) > > at > > > org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j > > ava:436) > > at > > > org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplic > > ationHandler.java:150) > > at > > > org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext. > > java:442) > > at > > > org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.j > > ava:85) > > at > > > org.jboss.jetty.JBossWebApplicationContext.start(JBossWebApplicationContext. > > java:89) > > at org.jboss.jetty.Jetty.deploy(Jetty.java:331) > > ... 18 more > > 11:51:53,296 ERROR [URLDeploymentScanner] Failed to deploy: > > [EMAIL PROTECTED] > > url=file:/C:/usr/l > > ocal/jboss-3.0.7/server/default/deploy/yoursos-app.ear, > > deployedLastModified=1064426115890 } > > org.jboss.deployment.DeploymentException: Error initializing Quartz > > scheduler; - nested throwable: (javax.servlet.ServletException: Error > > initializing > > Quartz scheduler) > > at org.jboss.jetty.Jetty.deploy(Jetty.java:353) > > at > org.jboss.jetty.JettyService.performDeploy(JettyService.java:242) > > at > > org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:301) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814) > > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:806) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591) > > at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > > .java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at > > > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat > > cher.java:284) > > at > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) > > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > > at $Proxy3.deploy(Unknown Source) > > at > > > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne > > r.java:435) > > at > > > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner. > > java:561) > > at > > > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan( > > AbstractDeploymentScanner.java:217) > > at > > > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab > > stractDeploymentScanner.java:230) > > at > > > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs > > tractDeploymentScanner.java:207) > > Caused by: javax.servlet.ServletException: Error initializing Quartz > > scheduler > > at > > com.jgsullivan.struts.plugins.QuartzPlugIn.init(QuartzPlugIn.java:103) > > at > > com.jgsullivan.struts.plugins.PlugInSupport.init(PlugInSupport.java:276) > > at > > > org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java: > > 1158) > > at > > org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) > > at > > > com.baselogic.yoursos.struts.ExtendedActionServlet.init(ExtendedActionServle > > t.java:23) > > at javax.servlet.GenericServlet.init(GenericServlet.java:256) > > at > > org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:219) > > at > > > org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j > > ava:436) > > at > > > org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplic > > ationHandler.java:150) > > at > > > org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext. > > java:442) > > at > > > org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.j > > ava:85) > > at > > > org.jboss.jetty.JBossWebApplicationContext.start(JBossWebApplicationContext. > > java:89) > > at org.jboss.jetty.Jetty.deploy(Jetty.java:331) > > ... 18 more > > > > > > > > --- > > Thanks > > Mick Knutson > > http://www.baselogic.com > > > > +001(805) 563-0666 Office > > +001 (708) 570-2772 Fax > > --- > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > Learn more about Paymentech's payment processing services at > > www.paymentech.com > > THIS MESSAGE IS CONFIDENTIAL. This e-mail message and any attachments are > > proprietary and confidential information intended only for the use of the > > recipient(s) named above. If you are not the intended recipient, you may > > not print, distribute, or copy this message or any attachments. If you > have > > received this communication in error, please notify the sender by return > > e-mail and delete this message and any attachments from your computer. > > > > --------------------------------------------------------------------- > > 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] > > > > > > Learn more about Paymentech's payment processing services at > > www.paymentech.com > > THIS MESSAGE IS CONFIDENTIAL. This e-mail message and any attachments are > > proprietary and confidential information intended only for the use of the > > recipient(s) named above. If you are not the intended recipient, you may > > not print, distribute, or copy this message or any attachments. If you > have > > received this communication in error, please notify the sender by return > > e-mail and delete this message and any attachments from your computer. > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]