You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Paul Milner <pa...@jeannot.uklinux.net> on 2004/03/23 23:04:10 UTC

task:task not bound

Hi
I'm just getting into Lenya so please excuse the newbie-ness... I'd just like to say that it's a great piece of work.

But here's a question: why do I get the following exception when I try to schedule a Publish job? This is just using the Default Publication and a fresh install, no customizations...
If anyone could spare the time to go thru the steps of how you would approach resolving this sort of problem (or indeed any Lenya problem), please post them here... it could be useful generally. E.g. what traces would be useful, what to check first, etc.
Cheers
Paul

Here's the exception:

org.xml.sax.SAXParseException: The prefix "task" for element "task:task" is not bound.
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318)
        at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:337)
        at org.apache.lenya.cms.cocoon.generation.ProxyGenerator.generate(ProxyGenerator.java:219)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:532)
        at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:196)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:683)
        at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:467)
        at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:224)
        at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:159)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:532)
        at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:196)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:683)
        at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:467)
        at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:224)
        at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:141)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:548)
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:492)
        at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:147)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
        at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
        at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)
        at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
        at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)
        at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
        at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:176)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
        at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)
        at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:640)
        at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
        at org.mortbay.http.HttpServer.service(HttpServer.java:863)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)

Re: task:task not bound

Posted by Paul Milner <pa...@jeannot.uklinux.net>.
QUOTE
> > Here's the exception:
> >
> > org.xml.sax.SAXParseException: The prefix "task" for element "task:task"
is not bound.
>
> hmm looks like it is losing the namespace declaration for task
> somewhere.. are you sure you use the xalan 2.6.0 / xerces 2.6.1 combo?
>
> -- 
> Gregor J. Rothfuss
UNQUOTE

Thanks for the response Gregor - I guess this implies that only the
xalan/xerces combo you mention is valid for Lenya... I will check it out.
Cheers
Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: task:task not bound

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Paul Milner wrote:

> Hi
> I'm just getting into Lenya so please excuse the newbie-ness... I'd just like to say that it's a great piece of work.
> 
> But here's a question: why do I get the following exception when I try to schedule a Publish job? This is just using the Default Publication and a fresh install, no customizations...
> If anyone could spare the time to go thru the steps of how you would approach resolving this sort of problem (or indeed any Lenya problem), please post them here... it could be useful generally. E.g. what traces would be useful, what to check first, etc.
> Cheers
> Paul
> 
> Here's the exception:
> 
> org.xml.sax.SAXParseException: The prefix "task" for element "task:task" is not bound.

hmm looks like it is losing the namespace declaration for task 
somewhere.. are you sure you use the xalan 2.6.0 / xerces 2.6.1 combo?

-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org