Hi George,
"New Publication" (CreatePublicationFromTemplate usecase) should be working now. I introduced the problem trying to make the usecase.xmap sitemap file overridable in templated pubs.

It seems that there is a bug in the Fallback input module that gives this error when called outside of a publication.

--Doug

George Kelly wrote:
I've been getting the following error for the past few days, building lenya-1.5 from svn with cocoon branch_2_1_x on jdk 1.5.

The Error occurs when I press "New Publication"

Is this a known issue or just something being worked on?

George



Error Here:

The configuration file [S:\apache\lenya-1.4\build\lenya\webapp\lenya\pubs\index.html\config\publication.xconf] does not exist!

org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap at <map:mount> - file:/S:/apache/lenya-1.4/build/lenya/webapp/global-sitemap.xmap:287:105 at <map:mount> - file:/S:/apache/lenya-1.4/build/lenya/webapp/sitemap.xmap:540:110

cause: java.lang.RuntimeException: The configuration file [S:\apache\lenya-1.4\build\lenya\webapp\lenya\pubs\index.html\config\publication.xconf] does not exist!

full exception chain stacktrace[Show]

org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap at <map:mount> - file:/S:/apache/lenya-1.4/build/lenya/webapp/global-sitemap.xmap:287:105 at <map:mount> - file:/S:/apache/lenya-1.4/build/lenya/webapp/sitemap.xmap:540:110 at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:112) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:121) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:102) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:679)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
    at org.mortbay.http.HttpServer.service(HttpServer.java:879)
    at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
Caused by: org.apache.cocoon.sitemap.PatternException: Cannot get variable '//lenya/usecases/usecase.xmap' in expression '{fallback://lenya/usecases/usecase.xmap}' at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.processModule(PreparedVariableResolver.java:279) at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.resolve(PreparedVariableResolver.java:208) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:88) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:107) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
    ... 39 more
Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Resolving path [//lenya/usecases/usecase.xmap] failed: at org.apache.lenya.cms.cocoon.components.modules.input.PublicationTemplateFallbackModule.getAttribute(PublicationTemplateFallbackModule.java:94) at org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.processModule(PreparedVariableResolver.java:271)
    ... 51 more
Caused by: org.apache.lenya.cms.publication.templating.TemplatingException: Visiting path [//lenya/usecases/usecase.xmap] failed: at org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl.visit(PublicationTemplateManagerImpl.java:83)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:143)
    at $Proxy15.visit(Unknown Source)
at org.apache.lenya.cms.cocoon.components.modules.input.PublicationTemplateFallbackModule.getAttribute(PublicationTemplateFallbackModule.java:88)
    ... 52 more
Caused by: java.lang.RuntimeException: The configuration file [S:\apache\lenya-1.4\build\lenya\webapp\lenya\pubs\index.html\config\publication.xconf] does not exist! at org.apache.lenya.cms.publication.PublicationImpl.loadConfiguration(PublicationImpl.java:105) at org.apache.lenya.cms.publication.PublicationImpl.getTemplateIds(PublicationImpl.java:389) at org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl.getPublications(PublicationTemplateManagerImpl.java:175) at org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl.getBaseURIs(PublicationTemplateManagerImpl.java:115) at org.apache.lenya.cms.publication.templating.PublicationTemplateManagerImpl.visit(PublicationTemplateManagerImpl.java:60)
    ... 59 more

stacktrace[Show]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to