cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Ulrich Niedermann <niederm...@isd.uni-stuttgart.de>
Subject C2/xalan/xerces: NoClassDefFoundError: XSchemaValidator
Date Wed, 02 Aug 2000 22:56:01 GMT
Hi,

I was brave yesterday and played with C2's Sitemap: I inserted some
Docbook XML -> HTML transformation and ran into a problem. 

Now the first time I request some Docbook -> HTML translation I get a
NoClassDefFoundError exception (XSchemaValidator missing, traceback
below). All followup request of the same URI return the HTML code I
want.

If I use the xalan/xerces jars from C2 CVS on the command line, I get
the same exception. Current CVS xalan/xerces works flawlessly from the
command line, but doesn't work with Cocoon2.

BTW, I'm using current C2 from CVS, Tomcat 3.1, Sun JDK 1.2.2RC2. 

Just in case someone is interested. Will be resolved with Xalan 2.0
anyway, I think.

Uli

P.S: Docbook XSL is not extraordinarily fast:
     K6-2/300MHz, quite a small&simple document takes 
     approx. 30 (thirty!) seconds 
-----8<----------------------------------------------------------------
Internal Servlet Error:

java.lang.NoClassDefFoundError: org/apache/xerces/validators/schema/XSchemaValidator
        at org.apache.xalan.xslt.FuncDocument.getDoc(FuncDocument.java:208)
        at org.apache.xalan.xslt.FuncDocument.execute(FuncDocument.java:171)
        at org.apache.xalan.xpath.Function.execute(Function.java, Compiled Code)
        at org.apache.xalan.xpath.XPath.executeFunction(XPath.java, Compiled Code)
        at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
        at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
        at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
        at org.apache.xalan.xpath.XPath.execute(XPath.java, Compiled Code)
        at org.apache.xalan.xslt.ElemVariable.getValue(ElemVariable.java, Compiled Code)
        at org.apache.xalan.xslt.ElemVariable.execute(ElemVariable.java, Compiled Code)
        at org.apache.xalan.xslt.Stylesheet.pushTopLevelVariables(Stylesheet.java, Compiled
Code)
        at org.apache.xalan.xslt.XSLTEngineImpl.resolveTopLevelParams(XSLTEngineImpl.java,
Compiled Code)
        at org.apache.xalan.xslt.XSLTEngineImpl.startDocument(XSLTEngineImpl.java, Compiled
Code)
        at org.apache.cocoon.xml.util.DocumentHandlerWrapper.startDocument(DocumentHandlerWrapper.java,
Compiled Code)
        at org.apache.xerces.parsers.SAXParser.startDocument(SAXParser.java, Compiled Code)
        at org.apache.xerces.validators.common.XMLValidator.callStartDocument(XMLValidator.java,
Compiled Code)
        at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java,
Compiled Code)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java,
Compiled Code)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java, Compiled Code)
        at org.apache.cocoon.components.parser.XercesParser.parse(XercesParser.java, Compiled
Code)
        at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java, Compiled
Code)
        at org.apache.cocoon.sitemap.ResourcePipeline.process(ResourcePipeline.java, Compiled
Code)
        at _home._uli._public_html._xml_isd_uni_stuttgart_de._www._sitemap_xmap.process(_sitemap_xmap.java,
Compiled Code)
        at org.apache.cocoon.sitemap.SitemapHandler.process(SitemapHandler.java, Compiled
Code)
        at org.apache.cocoon.sitemap.SitemapManager.invoke(SitemapManager.java, Compiled Code)
        at org.apache.cocoon.Cocoon.process(Cocoon.java, Compiled Code)
        at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java, Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled
Code)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled Code)
        at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java,
Compiled Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled
Code)
        at java.lang.Thread.run(Thread.java, Compiled Code)
-----8<----------------------------------------------------------------

Mime
View raw message