I am using the java package quartz with this package it allows you to schedule jobs by using an xml file. The problem is when I do processFileAndScheduleJobs(...job xml file... )
I get this
org.apache.commons.beanutils.ConversionException: HelloJob at org.apache.commons.digester.Digester.createSAXException(Digester.java:2919) at org.apache.commons.digester.Digester.createSAXException(Digester.java:2945) at org.apache.commons.digester.Digester.endElement(Digester.java:1133) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1647) at org.quartz.xml.JobSchedulingDataProcessor.processFile(JobSchedulingDataProcessor.java:430) at org.quartz.xml.JobSchedulingDataProcessor.processFileAndScheduleJobs(JobSchedulingDataProcessor.java:499) at org.quartz.xml.JobSchedulingDataProcessor.processFileAndScheduleJobs(JobSchedulingDataProcessor.java:485)
I am using quartz version 1.5 I think it has to do with the <quartz ... > tag I have
However since one of the methods in the stack trace is "endElement", it is quote possible that a tag that starts an element isn't the culprit. However that's all you posted so there isn't much that can be said about it. Would you like to post more details?
Joined: Feb 06, 2008
Here is the xml file
I don't know much about the dtd, xsd files. But here they are
[Line endings inserted to reduce the extreme width of the post - PC] [ June 20, 2008: Message edited by: Paul Clapham ]
The stack trace referred to "HelloJob". So it looks like this is the place where parsing stopped:
I googled for the name of the exception (org.apache.commons.beanutils.ConversionException) and the first link that came back was this article about Apache Digester and BeanUtils. Looks to me like there's something missing from your code, something that can create a HelloJob object. However I don't know much about Digester.