cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian May <>
Subject Re: C2 issues
Date Tue, 01 Aug 2000 00:01:18 GMT
>>>>> "Giacomo" == Giacomo Pati <> writes:

    Giacomo> As the error message above states, you have not put
    Giacomo> AvalonAware.jar into your classpath. You'll find it unde
    Giacomo> the ./lib directory.

Oh, of course. It works now. Ooops. :-(

However, just a minor problem, I have often noticed. When first trying
to access my web-page (C2, any version since July) after initially
starting TomCat, I always get the following error:

Error: 500

Location: /~bam/welcome.html

Internal Servlet Error:

java.lang.NoClassDefFoundError: org/apache/xerces/validators/schema/XSchemaValidator
        at org.apache.xalan.xpath.xdom.XercesLiaison.parse(, Compiled Code)
        at org.apache.xalan.xslt.FuncDocument.getDoc(, Compiled Code)
        at org.apache.xalan.xslt.FuncDocument.execute(, Compiled Code)
        at org.apache.xalan.xpath.Function.execute(, Compiled Code)
        at org.apache.xalan.xpath.XPath.executeFunction(, Compiled Code)
        at org.apache.xalan.xpath.XPath.execute(, Compiled Code)
        at org.apache.xalan.xpath.SimpleNodeLocator.findNodeSet(, Compiled
        at org.apache.xalan.xpath.SimpleNodeLocator.step(, Compiled
        at org.apache.xalan.xpath.SimpleNodeLocator.locationPath(, Compiled
        at org.apache.xalan.xpath.XPath.locationPath(, Compiled Code)
        at org.apache.xalan.xpath.XPath.execute(, Compiled Code)
        at org.apache.xalan.xpath.XPath.execute(, Compiled Code)
        at org.apache.xalan.xpath.XPath.execute(, Compiled Code)
        at org.apache.xalan.xslt.ElemValueOf.execute(, Compiled Code)
        at org.apache.xalan.xslt.ElemTemplateElement.executeChildren(,
Compiled Code)
        at org.apache.xalan.xslt.XSLTEngineImpl.createResultTreeFrag(,
Compiled Code)
        at org.apache.xalan.xslt.ElemVariable.getValue(, Compiled Code)
        at org.apache.xalan.xslt.ElemVariable.execute(, Compiled Code)
        at org.apache.xalan.xslt.Stylesheet.pushTopLevelVariables(, Compiled
        at org.apache.xalan.xslt.Stylesheet.pushTopLevelVariables(, Compiled
        at org.apache.xalan.xslt.XSLTEngineImpl.resolveTopLevelParams(,
Compiled Code)
        at org.apache.xalan.xslt.XSLTEngineImpl.startDocument(, Compiled
        at org.apache.cocoon.xml.util.DocumentHandlerWrapper.startDocument(,
Compiled Code)
        at org.apache.xerces.parsers.SAXParser.startDocument(, Compiled Code)
        at org.apache.xerces.validators.common.XMLValidator.callStartDocument(,
Compiled Code)
        at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(,
Compiled Code)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(,
Compiled Code)
        at org.apache.xerces.framework.XMLParser.parse(, Compiled Code)
        at org.apache.cocoon.components.parser.XercesParser.parse(, Compiled
        at org.apache.cocoon.generation.FileGenerator.generate(, Compiled
        at org.apache.cocoon.sitemap.ResourcePipeline.process(, Compiled
        at _homes._bam._public_html._sitemap_xmap.process(, Compiled Code)
        at org.apache.cocoon.sitemap.SitemapHandler.process(, Compiled
        at org.apache.cocoon.sitemap.SitemapManager.invoke(, Compiled Code)
        at org.apache.cocoon.Cocoon.process(, Compiled Code)
        at org.apache.cocoon.servlet.CocoonServlet.service(
        at javax.servlet.http.HttpServlet.service(, Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(, Compiled
        at org.apache.tomcat.core.ContextManager.service(, Compiled Code)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(,
Compiled Code)
        at, Compiled
        at, Compiled Code)

What is particularly weird (to me at least), as when I click reload,
it works.

Also, in order to play around and experiment with the potential uses
of XSP, I have created a simple "guestbook" application. The idea
being, the XSP file records new entries in XML format, which is
rendered using standard XSL style-sheets. I can give you copies if you
want, but personally I think my code is horrible ;-). For instance,
currently I have to display the result one way (without quoting
special characters, as XSP seems to do that for me), and save it to
the file another way (with quoting special characters).

However, in the latest version of Cocoon2 it no longer works anyway.
It seems to crash at the following line:

String name=request.getParameter("name");

with the following error:

        at java.util.StringTokenizer.nextToken(, Compiled Code)
Compiled Code)
Compiled Code)
Compiled Code)

I would be interested in any relevant feedback in the above issues.

Brian May <>

View raw message