Re: Quartz error and Struts plugin for struts

2003-09-25 Thread Mick Knutson
Yes, here is an exact cut-n-paste:





---
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: Thursday, September 25, 2003 4:58 AM
Subject: RE: Quartz error and Struts plugin for struts


I had no problem using the quartz-config you supplied.  Is your plugin
configured like this in the struts-config?

 
  


Cal

-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 19:12
To: Struts Users Mailing List
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:



 
  
   
   
  
 

 
  
 


 




---
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.jb

RE: Quartz error and Struts plugin for struts

2003-09-25 Thread Holman, Cal
I had no problem using the quartz-config you supplied.  Is your plugin configured like 
this in the struts-config?

 
  


Cal

-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 19:12
To: Struts Users Mailing List
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:



 
  
   
   
  
 

 
  
 


 




---
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.GeneratedMethodA

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Mick Knutson
Thanks for the help

---
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: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 7:25 PM
Subject: Re: Quartz error and Struts plugin for struts


Xerces. All the commons should be ok from the struts release. I will try
your quartz-config tomorrow.

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 22:11:24 2003
Subject: Re: Quartz error and Struts plugin for struts

Yes, I am only using the 1.1 LIB release.
Do you mean the beanutils? Or Xerces?

---
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: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 7:05 PM
Subject: Re: Quartz error and Struts plugin for struts


Are you using the struts 1.1 libs? Latest parser?

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 20:45:51 2003
Subject: Re: Quartz error and Struts plugin for struts

I have used the example xml excerp from the src, but I don't know what would
be wrong with the file, or how to track it further.
Any ideas about where I can go to get help?

---
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: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 5:27 PM
Subject: Re: Quartz error and Struts plugin for struts


Looks like the plug in is having trouble with parsing the quartz-config. I
cannot see any problem but I am on a blackberry so it is hard to compare
your file to the dtd.

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 19:05:51 2003
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(J2EEWebApplicati

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Holman, Cal
Xerces. All the commons should be ok from the struts release. I will try your 
quartz-config tomorrow. 

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 22:11:24 2003
Subject: Re: Quartz error and Struts plugin for struts

Yes, I am only using the 1.1 LIB release.
Do you mean the beanutils? Or Xerces?

---
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: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 7:05 PM
Subject: Re: Quartz error and Struts plugin for struts


Are you using the struts 1.1 libs? Latest parser?

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 20:45:51 2003
Subject: Re: Quartz error and Struts plugin for struts

I have used the example xml excerp from the src, but I don't know what would
be wrong with the file, or how to track it further.
Any ideas about where I can go to get help?

---
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: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 5:27 PM
Subject: Re: Quartz error and Struts plugin for struts


Looks like the plug in is having trouble with parsing the quartz-config. I
cannot see any problem but I am on a blackberry so it is hard to compare
your file to the dtd.

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 19:05:51 2003
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.jbos

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Mick Knutson
Yes, I am only using the 1.1 LIB release.
Do you mean the beanutils? Or Xerces?

---
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: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 7:05 PM
Subject: Re: Quartz error and Struts plugin for struts


Are you using the struts 1.1 libs? Latest parser?

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 20:45:51 2003
Subject: Re: Quartz error and Struts plugin for struts

I have used the example xml excerp from the src, but I don't know what would
be wrong with the file, or how to track it further.
Any ideas about where I can go to get help?

---
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: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 5:27 PM
Subject: Re: Quartz error and Struts plugin for struts


Looks like the plug in is having trouble with parsing the quartz-config. I
cannot see any problem but I am on a blackberry so it is hard to compare
your file to the dtd.

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 19:05:51 2003
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.GeneratedMetho

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Holman, Cal
Are you using the struts 1.1 libs? Latest parser?

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 20:45:51 2003
Subject: Re: Quartz error and Struts plugin for struts

I have used the example xml excerp from the src, but I don't know what would
be wrong with the file, or how to track it further.
Any ideas about where I can go to get help?

---
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: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 5:27 PM
Subject: Re: Quartz error and Struts plugin for struts


Looks like the plug in is having trouble with parsing the quartz-config. I
cannot see any problem but I am on a blackberry so it is hard to compare
your file to the dtd.

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 19:05:51 2003
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.MBeanPro

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Mick Knutson
I see now that you mean "+ getJobClass().getName()", but I do not know where
jobClass gets set.
I see a className attribute, but not where this is converted to a class.

---
Thanks
Mick Knutson
http://www.baselogic.com

+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---

- Original Message - 
From: "Michael Nascimento Santos" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 6:26 PM
Subject: Re: Quartz error and Struts plugin for struts


> The only way to get a NPE in that use would be to have a null return for
> getJobClass(). Check it and let us know if that's the case.
>
> []s
> Michael Nascimento Santos
> JSR-207 Expert Group Member
> http://weblogs.java.net/pub/au/80
> htp://www.soujava.org.br
>
> - Original Message - 
> From: "Mick Knutson" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 24, 2003 10:19 PM
> Subject: Re: Quartz error and Struts plugin for struts
>
>
> > I tried that and here is what I found:
> >
> > JobDetail(381): return "JobDetail '"
> > as listed in the method below:
> >
> >   public String toString() {
> > return "JobDetail '"
> >   + getFullName()
> >   + "':  jobClass: '"
> >   + getJobClass().getName()
> >   + " isStateful: "
> >   + isStateful()
> >   + " isVolatile: "
> >   + isVolatile()
> >   + " isDurable: "
> >   + isDurable()
> >   + " requestsRecovers: "
> >   + requestsRecovery();
> >   }
> >
> >
> > ---
> > Thanks
> > Mick Knutson
> > http://www.baselogic.com
> >
> > +001(805) 563-0666 Office
> > +001 (708) 570-2772 Fax
> > ---
> >
> > - Original Message - 
> > From: "Joe Germuska" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 24, 2003 6:08 PM
> > Subject: Re: Quartz error and Struts plugin for struts
> >
> >
> > > At 5:45 PM -0700 9/24/03, Mick Knutson wrote:
> > > >I have used the example xml excerp from the src, but I don't know
what
> > would
> > > >be wrong with the file, or how to track it further.
> > > >Any ideas about where I can go to get help?
> > >
> > > I'd suggest going straight to the source code, seeing as all the
> > > pieces you are using are open source projects.
> > >
> > > For example:
> > >
> > > >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)
> > >
> > > Looking in the source for org.apache.commons.beanutils.BeanUtils, I
> > > see that line 792 is the call to "log.debug()":
> > >
> > >  if (log.isDebugEnabled()) {
> > >  log.debug("BeanUtils.populate(" + bean + ", " +
> > >  properties + ")");
> > >  }
> > >
> > > So one thing you've discovered is that Quartz has a bug in it's
> > > JobDetail.toString() implementation -- it should be doing a null
> > > check!  The other thing you see though, is that that's merely a
> > > debugging line.  So if you go to your commons-logging configuration
> > > and set the logging threshold for
> > > org.apache.commons.beanutils.BeanUtils to "INFO" or higher, you'll
> > > skip that call all together, and maybe get a little farther.
> > >
> > > You could also go and look at the code for Quartz and see what values
> > > in the JobDetail.toString() might possibly be dereferencing a
> > > property or method on a null object; that may help you figure out
> > > something that needs to be set, or help you track down some bug in
> > > the com.jgsullivan.quartz.SchedulerBuilder and/or

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Mick Knutson
in the openSource JobDetail.java, there is a getJobClass():
  /**
   * Get the instance of Job that will be executed.
   */
  public Class getJobClass() {
return jobClass;
  }


I also set the job in my quartz-config.xml:
  

and the quartz-config.xml is in WEB-INF/
and com.baselogic.yoursos.scheduler.jobs.AlertSenderJob is in
WEB-INF/classes

Am I missing something else?


---
Thanks
Mick Knutson
http://www.baselogic.com

+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---

- Original Message - 
From: "Michael Nascimento Santos" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 6:26 PM
Subject: Re: Quartz error and Struts plugin for struts


> The only way to get a NPE in that use would be to have a null return for
> getJobClass(). Check it and let us know if that's the case.
>
> []s
> Michael Nascimento Santos
> JSR-207 Expert Group Member
> http://weblogs.java.net/pub/au/80
> htp://www.soujava.org.br
>
> - Original Message - 
> From: "Mick Knutson" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 24, 2003 10:19 PM
> Subject: Re: Quartz error and Struts plugin for struts
>
>
> > I tried that and here is what I found:
> >
> > JobDetail(381): return "JobDetail '"
> > as listed in the method below:
> >
> >   public String toString() {
> > return "JobDetail '"
> >   + getFullName()
> >   + "':  jobClass: '"
> >   + getJobClass().getName()
> >   + " isStateful: "
> >   + isStateful()
> >   + " isVolatile: "
> >   + isVolatile()
> >   + " isDurable: "
> >   + isDurable()
> >   + " requestsRecovers: "
> >   + requestsRecovery();
> >   }
> >
> >
> > ---
> > Thanks
> > Mick Knutson
> > http://www.baselogic.com
> >
> > +001(805) 563-0666 Office
> > +001 (708) 570-2772 Fax
> > ---
> >
> > - Original Message - 
> > From: "Joe Germuska" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 24, 2003 6:08 PM
> > Subject: Re: Quartz error and Struts plugin for struts
> >
> >
> > > At 5:45 PM -0700 9/24/03, Mick Knutson wrote:
> > > >I have used the example xml excerp from the src, but I don't know
what
> > would
> > > >be wrong with the file, or how to track it further.
> > > >Any ideas about where I can go to get help?
> > >
> > > I'd suggest going straight to the source code, seeing as all the
> > > pieces you are using are open source projects.
> > >
> > > For example:
> > >
> > > >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)
> > >
> > > Looking in the source for org.apache.commons.beanutils.BeanUtils, I
> > > see that line 792 is the call to "log.debug()":
> > >
> > >  if (log.isDebugEnabled()) {
> > >  log.debug("BeanUtils.populate(" + bean + ", " +
> > >  properties + ")");
> > >  }
> > >
> > > So one thing you've discovered is that Quartz has a bug in it's
> > > JobDetail.toString() implementation -- it should be doing a null
> > > check!  The other thing you see though, is that that's merely a
> > > debugging line.  So if you go to your commons-logging configuration
> > > and set the logging threshold for
> > > org.apache.commons.beanutils.BeanUtils to "INFO" or higher, you'll
> > > skip that call all together, and maybe get a little farther.
> > >
> > > You could also go and look at the code for Quartz and see what values
> > > in the JobDetail.toString() might possibly be dereferencing a
> > > property or method on a null object; that may help you figure out
> > > something that ne

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Michael Nascimento Santos
The only way to get a NPE in that use would be to have a null return for
getJobClass(). Check it and let us know if that's the case.

[]s
Michael Nascimento Santos
JSR-207 Expert Group Member
http://weblogs.java.net/pub/au/80
htp://www.soujava.org.br

- Original Message - 
From: "Mick Knutson" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 10:19 PM
Subject: Re: Quartz error and Struts plugin for struts


> I tried that and here is what I found:
>
> JobDetail(381): return "JobDetail '"
> as listed in the method below:
>
>   public String toString() {
> return "JobDetail '"
>   + getFullName()
>   + "':  jobClass: '"
>   + getJobClass().getName()
>   + " isStateful: "
>   + isStateful()
>   + " isVolatile: "
>   + isVolatile()
>   + " isDurable: "
>   + isDurable()
>   + " requestsRecovers: "
>   + requestsRecovery();
>   }
>
>
> ---
> Thanks
> Mick Knutson
> http://www.baselogic.com
>
> +001(805) 563-0666 Office
> +001 (708) 570-2772 Fax
> ---
>
> ----- Original Message - 
> From: "Joe Germuska" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 24, 2003 6:08 PM
> Subject: Re: Quartz error and Struts plugin for struts
>
>
> > At 5:45 PM -0700 9/24/03, Mick Knutson wrote:
> > >I have used the example xml excerp from the src, but I don't know what
> would
> > >be wrong with the file, or how to track it further.
> > >Any ideas about where I can go to get help?
> >
> > I'd suggest going straight to the source code, seeing as all the
> > pieces you are using are open source projects.
> >
> > For example:
> >
> > >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)
> >
> > Looking in the source for org.apache.commons.beanutils.BeanUtils, I
> > see that line 792 is the call to "log.debug()":
> >
> >  if (log.isDebugEnabled()) {
> >  log.debug("BeanUtils.populate(" + bean + ", " +
> >  properties + ")");
> >  }
> >
> > So one thing you've discovered is that Quartz has a bug in it's
> > JobDetail.toString() implementation -- it should be doing a null
> > check!  The other thing you see though, is that that's merely a
> > debugging line.  So if you go to your commons-logging configuration
> > and set the logging threshold for
> > org.apache.commons.beanutils.BeanUtils to "INFO" or higher, you'll
> > skip that call all together, and maybe get a little farther.
> >
> > You could also go and look at the code for Quartz and see what values
> > in the JobDetail.toString() might possibly be dereferencing a
> > property or method on a null object; that may help you figure out
> > something that needs to be set, or help you track down some bug in
> > the com.jgsullivan.quartz.SchedulerBuilder and/or
> > com.jgsullivan.quartz.ConfigRuleSet -- I see from a brief look at
> > ConfigRuleSet that Quartz requires some kind of complicated rules
> > because it needs to establish relationships between a JobDetail
> > object and a JobGroupConfig object.
> >
> > At the risk of sounding like a jerk, your posts don't give the
> > impression that you are trying very hard yourself to get to the
> > bottom of these problems.   I can't speak for anyone else, but if all
> > you ever do is post the next stack trace that comes up, I'm
> > personally not likely to put a whole lot more energy into helping you
> > get to the bottom of your problem.  You've got to do some of your own
> > legwork too.
> >
> > Joe
> > -- 
> > Joe Germuska
> > [EMAIL PROTECTED]
> > http://blog.germuska.com
> >   "We want beef in dessert if we can get it there."
> >-- Betty Hogan, Director of New Product Development, National
> > Cattlemen's Beef Association
> >
> >
> > -
> > 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]



Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Mick Knutson
I tried that and here is what I found:

JobDetail(381): return "JobDetail '"
as listed in the method below:

  public String toString() {
return "JobDetail '"
  + getFullName()
  + "':  jobClass: '"
  + getJobClass().getName()
  + " isStateful: "
  + isStateful()
  + " isVolatile: "
  + isVolatile()
  + " isDurable: "
  + isDurable()
  + " requestsRecovers: "
  + requestsRecovery();
  }


---
Thanks
Mick Knutson
http://www.baselogic.com

+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---

- Original Message - 
From: "Joe Germuska" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 6:08 PM
Subject: Re: Quartz error and Struts plugin for struts


> At 5:45 PM -0700 9/24/03, Mick Knutson wrote:
> >I have used the example xml excerp from the src, but I don't know what
would
> >be wrong with the file, or how to track it further.
> >Any ideas about where I can go to get help?
>
> I'd suggest going straight to the source code, seeing as all the
> pieces you are using are open source projects.
>
> For example:
>
> >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)
>
> Looking in the source for org.apache.commons.beanutils.BeanUtils, I
> see that line 792 is the call to "log.debug()":
>
>  if (log.isDebugEnabled()) {
>  log.debug("BeanUtils.populate(" + bean + ", " +
>  properties + ")");
>  }
>
> So one thing you've discovered is that Quartz has a bug in it's
> JobDetail.toString() implementation -- it should be doing a null
> check!  The other thing you see though, is that that's merely a
> debugging line.  So if you go to your commons-logging configuration
> and set the logging threshold for
> org.apache.commons.beanutils.BeanUtils to "INFO" or higher, you'll
> skip that call all together, and maybe get a little farther.
>
> You could also go and look at the code for Quartz and see what values
> in the JobDetail.toString() might possibly be dereferencing a
> property or method on a null object; that may help you figure out
> something that needs to be set, or help you track down some bug in
> the com.jgsullivan.quartz.SchedulerBuilder and/or
> com.jgsullivan.quartz.ConfigRuleSet -- I see from a brief look at
> ConfigRuleSet that Quartz requires some kind of complicated rules
> because it needs to establish relationships between a JobDetail
> object and a JobGroupConfig object.
>
> At the risk of sounding like a jerk, your posts don't give the
> impression that you are trying very hard yourself to get to the
> bottom of these problems.   I can't speak for anyone else, but if all
> you ever do is post the next stack trace that comes up, I'm
> personally not likely to put a whole lot more energy into helping you
> get to the bottom of your problem.  You've got to do some of your own
> legwork too.
>
> Joe
> -- 
> Joe Germuska
> [EMAIL PROTECTED]
> http://blog.germuska.com
>   "We want beef in dessert if we can get it there."
>-- Betty Hogan, Director of New Product Development, National
> Cattlemen's Beef Association
>
>
> -
> 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]



Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Joe Germuska
At 5:45 PM -0700 9/24/03, Mick Knutson wrote:
I have used the example xml excerp from the src, but I don't know what would
be wrong with the file, or how to track it further.
Any ideas about where I can go to get help?
I'd suggest going straight to the source code, seeing as all the 
pieces you are using are open source projects.

For example:

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)
Looking in the source for org.apache.commons.beanutils.BeanUtils, I 
see that line 792 is the call to "log.debug()":

if (log.isDebugEnabled()) {
log.debug("BeanUtils.populate(" + bean + ", " +
properties + ")");
}
So one thing you've discovered is that Quartz has a bug in it's 
JobDetail.toString() implementation -- it should be doing a null 
check!  The other thing you see though, is that that's merely a 
debugging line.  So if you go to your commons-logging configuration 
and set the logging threshold for 
org.apache.commons.beanutils.BeanUtils to "INFO" or higher, you'll 
skip that call all together, and maybe get a little farther.

You could also go and look at the code for Quartz and see what values 
in the JobDetail.toString() might possibly be dereferencing a 
property or method on a null object; that may help you figure out 
something that needs to be set, or help you track down some bug in 
the com.jgsullivan.quartz.SchedulerBuilder and/or 
com.jgsullivan.quartz.ConfigRuleSet -- I see from a brief look at 
ConfigRuleSet that Quartz requires some kind of complicated rules 
because it needs to establish relationships between a JobDetail 
object and a JobGroupConfig object.

At the risk of sounding like a jerk, your posts don't give the 
impression that you are trying very hard yourself to get to the 
bottom of these problems.   I can't speak for anyone else, but if all 
you ever do is post the next stack trace that comes up, I'm 
personally not likely to put a whole lot more energy into helping you 
get to the bottom of your problem.  You've got to do some of your own 
legwork too.

Joe
--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
 "We want beef in dessert if we can get it there."
  -- Betty Hogan, Director of New Product Development, National 
Cattlemen's Beef Association

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Mick Knutson
I have used the example xml excerp from the src, but I don't know what would
be wrong with the file, or how to track it further.
Any ideas about where I can go to get help?

---
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: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 5:27 PM
Subject: Re: Quartz error and Struts plugin for struts


Looks like the plug in is having trouble with parsing the quartz-config. I
cannot see any problem but I am on a blackberry so it is hard to compare
your file to the dtd.

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 19:05:51 2003
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.URLDeploy

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Holman, Cal
Looks like the plug in is having trouble with parsing the quartz-config. I cannot see 
any problem but I am on a blackberry so it is hard to compare your file to the dtd. 

Cal

-Original Message-
From: Mick Knutson <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Sent: Wed Sep 24 19:05:51 2003
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

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Mick Knutson
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:
>
> 
> 
>  
>   name="alertSenderTrigger"
>className="org.quartz.SimpleTrigger"
>description="Trigger for sending Alerts when they are due"
>volatility="false"
>misfireConstant="INSTRUCTION_RE_EXECUTE_JOB">
> property="repeatCount"
> value="900" />
> property="repeatInterval"
> value="5000" />
>   
>  
>
>  
>className="com.baselogic.yoursos.scheduler.jobs.AlertSenderJob" />
>  
>
>
>trigger="alertSenderTrigger" />
>
> 
>
>
> ---
> 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.servl

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Mick Knutson
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:



 
  
   
   
  
 

 
  
 


 




---
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)
>  

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Mick Knutson
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.thre

RE: Quartz error and Struts plugin for struts

2003-09-24 Thread Holman, Cal
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.initial

Re: Quartz error and Struts plugin for struts

2003-09-24 Thread Mick Knutson
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(M

RE: Quartz error and Struts plugin for struts

2003-09-24 Thread Holman, Cal
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.ReflectedMBeanDispat