Exception running partnership.bat

11 views
Skip to first unread message

ian tabangay

unread,
Mar 6, 2006, 6:20:28 AM3/6/06
to cecid-...@googlegroups.com
hi ive just setup hermes 2 in my pc and i got to the part where i can see the Piazza Corvus page. however when i try to run the partnership.bat, i get this error:

org.dom4j.DocumentException: Error on line 1 of document  : cvc-elt.1: Cannot find the declaration of element 'dao-config'. Nested exception: cvc-elt.1: Cannot find the declaration of element 'dao-config'.
        at org.dom4j.io.SAXReader.read(SAXReader.java:355)
        at org.dom4j.io.SAXReader.read(SAXReader.java:261)
        at hk.hku.cecid.corvus.partnership.EbmsPartnership.getElement(EbmsPartnership.java:192)
        at hk.hku.cecid.corvus.partnership.EbmsPartnership.createEbmsPartnership(EbmsPartnership.java:38)
        at hk.hku.cecid.corvus.partnership.EbmsPartnership.main(EbmsPartnership.java:206)
Nested exception:
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'dao-config'.
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:380)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:314)
        at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1870)
        at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:686)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:326)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:621)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1664)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:341)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:828)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:758)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1178)
        at org.dom4j.io.SAXReader.read(SAXReader.java:339)
        at org.dom4j.io.SAXReader.read(SAXReader.java:261)
        at hk.hku.cecid.corvus.partnership.EbmsPartnership.getElement(EbmsPartnership.java:192)
        at hk.hku.cecid.corvus.partnership.EbmsPartnership.createEbmsPartnership(EbmsPartnership.java:38)
        at hk.hku.cecid.corvus.partnership.EbmsPartnership.main(EbmsPartnership.java:206)
Nested exception: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'dao-config'.
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:380)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:314)
        at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1870)
        at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:686)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:326)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:621)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1664)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:341)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:828)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:758)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1178)
        at org.dom4j.io.SAXReader.read(SAXReader.java:339)
        at org.dom4j.io.SAXReader.read(SAXReader.java:261)
        at hk.hku.cecid.corvus.partnership.EbmsPartnership.getElement(EbmsPartnership.java:192)
        at hk.hku.cecid.corvus.partnership.EbmsPartnership.createEbmsPartnership(EbmsPartnership.java:38)
        at hk.hku.cecid.corvus.partnership.EbmsPartnership.main(EbmsPartnership.java:206)


Hermes 2 running on:
XP professional SP2
Java 1.4.2_09
Tomcat 5.0.28
Postgresql 8.0

Command: partnership.bat ebms -a conf\partnership.ebms-dao.xml
* partnership.ebms-dao.xml came with the loopback test


thanks in advance.
ian



Reply all
Reply to author
Forward
0 new messages