On Wednesday 04 February 2004 09:42 pm, Simon Mieth wrote:
> On Wed, 4 Feb 2004 15:02:32 -0800 (PST)
>
> <[EMAIL PROTECTED]> wrote:
> > Hi everyone and especially the helpful cocoon experts,
> > I think I really need help on this one.
> > The NullPointerException I'm getting in the release() method (see
> > below) does seem to have an effect. When I generate the site I do
> > get a correct /index.html for the site and it traverses the first
> > subdirectory /about/index.html, /about/contact.xml,
> > /about/pressrelease/index.html, /about/pressrelease/pr0001.html
> > correctly.
> > But when the algorithm seem sto return to the second (and all
> > following subdirectories (for example /product/index.html) it does
> > generate the /index.html into /product/index.html.
> > It also does not generate /product/technology.html (only the
> > index.html per subdirectory.
> > It looks like it traverses the site correctly for the first depth
> > first cycle and then does fall into this error.
> > Has anyone experienced this before? Any idea where best to start
> > looking?
> >
> > All help is very much appreciated!
> > Kaj
>
> Hi,
>
> which cocoon-version you are using and how (cli.xconf or
> commandline-switches)? If you have an older version, there were often
> excpetions, but the build was correct.
>
> If you use an older version, try the current CVS-version and build
> without the "portal-fw" and "portal"-block (otherwise the CLI is not
> running).
> Is your site running in tomcat or jetty correct?
>
> Best Regards,
>
> Simon
>
Hi Simon,
I use stock 2.1.3 and my site runs fine in Jetty.
I use the *.xconf (see below). My site is in webapp/NewConficio and I
want it to be generated, so I can put it into root of the apache
webserver.
I also get some other weird errors in the logs, which I do not get with
the online version (see below again).
--------- newconficio.xconf ----------------
<?xml version="1.0"?>
<!--+
| This is an Apache Cocoon command line configuration file.
| Here you give the command line interface details of where
| to find various aspects of your Cocoon installation.
|
| If you wish, you can also use this file to specify the URIs
| that you wish to generate.
|
| The current configuration information in this file is for
| building the Cocoon documentation. Therefore, all links here
| are relative to the build context dir, which, in the build.xml
| file, is set to ${build.context}
|
| Options:
| verbose: increase amount of information presented
| to standard output (default: false)
| follow-links: whether linked pages should also be
| generated (default: true)
| precompile-only: precompile sitemaps and XSP pages, but
| do not generate any pages (default: false)
| confirm-extensions: check the mime type for the generated page
| and adjust filename and links extensions
| to match the mime type
| (e.g. text/html->.html)
| context-dir: The context directory is usually the
webapp
| directory containing the sitemap.xmap
file.
| config-file: The config file is the cocoon.xconf file,
| usually found within the WEB-INF folder
| work-dir: The work directory is used by Cocoon to
| store temporary files and cache files.
| dest-dir: The destination directory is where
generated
| pages will be written (assuming the
'simple'
| mapper is used, see below)
|
+-->
<cocoon verbose="true"
follow-links="true"
precompile-only="false"
confirm-extensions="true"
context-dir="build/webapp"
config-file="WEB-INF/cocoon.xconf"
work-dir="build/NewConficio/work"
dest-dir="build/NewConficio/dest">
<!--+
| Broken link reporting options:
| Report into a text file, one link per line:
| <broken-links type="text" report="filename"/>
| Report into an XML file:
| <broken-links type="xml" report="filename"/>
| Ignore broken links (default):
| <broken-links type="none"/>
|
| Two attributes to this node specify whether a page should
| be generated when an error has occured. 'generate' specifies
| whether a page should be generated (default: true) and
| extension specifies an extension that should be appended
| to the generated page's filename (default: none)
|
| Using this, a quick scan through the destination directory
| will show broken links, by their filename extension.
+-->
<broken-links type="xml"
file="brokenlinks.xml"
generate="false"
extension=".error"/>
<!--+
| Load classes at startup. This is necessary for generating
| from sites that use SQL databases and JDBC.
| The <load-class> element can be repeated if multiple classes
| are needed.
+-->
<!--
<load-class>org.firebirdsql.jdbc.Driver</load-class>
-->
<!--+
| Configures logging.
| The 'log-kit' parameter specifies the location of the log kit
| configuration file (usually called logkit.xconf.
|
| Logger specifies the logging category (for all logging prior
| to other Cocoon logging categories taking over)
|
| Available log levels are:
| DEBUG: prints all level of log messages.
| INFO: prints all level of log messages except DEBUG
| ones.
| WARN: prints all level of log messages except DEBUG
| and INFO ones.
| ERROR: prints all level of log messages except
DEBUG,
| INFO and WARN ones.
| FATAL_ERROR: prints only log messages of this level
+-->
<logging log-kit="build/webapp/WEB-INF/logkit.xconf" logger="cli"
level="DEBUG" />
<!--+
| Specifies the filename to be appended to URIs that
| refer to a directory (i.e. end with a forward slash).
+-->
<default-filename>index.html</default-filename>
<!--+
| Specifies a user agent string to the sitemap when
| generating the site.
+-->
<!--
<user-agent>xxx</user-agent>
-->
<!--+
| Specifies an accept string to the sitemap when generating
| the site.
+-->
<accept>*/*</accept>
<!--+
| Specifies which URIs should be included or excluded, according
| to wildcard patterns.
|
| By default, all URIs are included. If both include and exclude
| patterns are specified, a URI is first checked against the
| include patterns, and then against the exclude patterns.
|
| Multiple patterns can be given, using muliple include or
exclude
| nodes.
|
| The order of the elements is not significant, as only the
first
| successful match of each category is used.
|
| Currently, only the complete source URI can be matched
(including
| any URI prefix). Future plans include destination URI matching
| and regexp matching. If you have requirements for these,
contact
| [EMAIL PROTECTED]
+-->
<include pattern="**"/>
<exclude pattern="graphics/**"/>
<exclude pattern="resources/**"/>
<exclude pattern="script/**"/>
<!-- <include-links extension=".html"/>-->
<!--+
| <uri> nodes specify the URIs that should be generated, and
| where required, what should be done with the generated pages.
|
| Append: append the generated page's URI to the end of the
| source URI:
|
| <uri type="append" src-prefix="documents/" src="index.html"
| dest="build/dest/"/>
|
| Replace: Completely ignore the generated page's URI - just
| use the destination URI:
|
| <uri type="replace" src-prefix="documents/" src="index.html"
| dest="build/dest/docs.html"/>
|
| Insert: Insert generated page's URI into the destination
| URI at the point marked with a * (example uses fictional
| zip protocol)
|
| <uri type="insert" src-prefix="documents/" src="index.html"
| dest="zip://*.zip/page.html"/>
|
| If in any of these scenarios, the dest attribute is omitted,
| the value provided globally using the <dest-dir> node will
| be used.
+-->
<uri type="append"
src-prefix="NewConficio/"
src="index.html"
dest="build/NewConficio/dest/"/>
<!--+
| <uri> nodes can be grouped together in a <uris> node. This
| enables a group of URIs to share properties. The following
| properties can be set for a group of URIs:
| * follow-links: should pages be crawled for links
| * confirm-extensions: should file extensions be checked
| for the correct mime type
| * src-prefix: all source URIs should be
| pre-pended with this prefix before
| generation. The prefix is not
| included when calculating the
| destination URI
| * dest: the base destination URI to be
| shared by all pages in this group
| * type: the method to be used to calculate
| the destination URI. See above
| section on <uri> node for details.
|
| Each <uris> node can have a name attribute. When a name
| attribute has been specified, the -n switch on the command
| line can be used to tell Cocoon to only process the URIs
| within this URI group. When no -n switch is given, all
| <uris> nodes are processed. Thus, one xconf file can be
| used to manage multiple sites.
+-->
<!--
<uris name="docs" follow-links="true">
<uri type="append" src-prefix="docs/" src="index.html"
dest="build/dest/" />
</uris>
-->
<uris name="site" follow-links="true"
confirm-extensions="true"
src-prefix="NewConficio/"
dest="build/NewConficio/dest/"
type="append"
>
<uri src=""/>
<uri src="index.html"/>
<uri src="about/"/>
<uri src="service/"/>
<uri src="product/"/>
<uri src="example/"/>
</uris>
<!--+
| File containing URIs (plain text, one per
| line).
+-->
<!--
<uri-file></uri-file>
-->
</cocoon>
----------------------------------
---------- error.log -------------
ERROR (2004-02-04) 19:12.28:233 [sitemap] (Unknown-URI)
Unknown-thread/AbstractProcessingPipeline: Unabled to release
processing component.
org.apache.cocoon.ProcessingException: Unable to remove component from
automatic release: no environment available.
at
org.apache.cocoon.components.CocoonComponentManager.removeFromAutomaticRelease(CocoonComponentManager.java:475)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.release(AbstractProcessingPipeline.java:207)
at
org.apache.cocoon.components.source.impl.SitemapSource.reset(SitemapSource.java:484)
at
org.apache.cocoon.components.source.impl.SitemapSource.recycle(SitemapSource.java:506)
at
org.apache.cocoon.components.source.impl.SitemapSourceFactory.release(SitemapSourceFactory.java:113)
at
org.apache.excalibur.source.impl.SourceResolverImpl.release(SourceResolverImpl.java:308)
at
org.apache.cocoon.components.CocoonComponentManager.release(CocoonComponentManager.java:527)
at
org.apache.cocoon.environment.AbstractEnvironment.release(AbstractEnvironment.java:574)
at
org.apache.cocoon.environment.wrapper.MutableEnvironmentFacade.release(MutableEnvironmentFacade.java:348)
at
org.apache.cocoon.generation.FileGenerator.recycle(FileGenerator.java:89)
at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.put(ResourceLimitingPool.java:438)
at
org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:247)
at
org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:454)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:338)
at
org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:319)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.recycle(AbstractProcessingPipeline.java:651)
at
org.apache.cocoon.components.pipeline.impl.BaseCachingProcessingPipeline.recycle(BaseCachingProcessingPipeline.java:112)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.recycle(AbstractCachingProcessingPipeline.java:961)
at
org.apache.avalon.excalibur.pool.ResourceLimitingPool.put(ResourceLimitingPool.java:438)
at
org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut(PoolableComponentHandler.java:247)
at
org.apache.avalon.excalibur.component.ComponentHandler.put(ComponentHandler.java:454)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release(ExcaliburComponentSelector.java:338)
at
org.apache.cocoon.components.ExtendedComponentSelector.release(ExtendedComponentSelector.java:319)
at
org.apache.cocoon.components.EnvironmentDescription.release(CocoonComponentManager.java:619)
at
org.apache.cocoon.components.CocoonComponentManager.endProcessing(CocoonComponentManager.java:236)
at org.apache.cocoon.Cocoon.process(Cocoon.java:676)
at
org.apache.cocoon.bean.CocoonWrapper.processLenient(CocoonWrapper.java:587)
at
org.apache.cocoon.bean.CocoonWrapper.getType(CocoonWrapper.java:574)
at
org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:451)
at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:384)
at org.apache.cocoon.Main.main(Main.java:350)
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:324)
at Loader.invokeMain(Unknown Source)
at Loader.run(Unknown Source)
at Loader.main(Unknown Source)
FATAL_E (2004-02-04) 19:12.29:605 [core.xslt-processor] (Unknown-URI)
Unknown-thread/TraxErrorHandler: Error in TraxTransformer:
file:/C:/cocoon-2.1.3/build/webapp/NewConficio/site2xhtml.xsl; Line 55;
Column 28;
; SystemID:
file:/C:/cocoon-2.1.3/build/webapp/NewConficio/site2xhtml.xsl; Line#:
55; Column#: 28
javax.xml.transform.TransformerException:
java.lang.NullPointerException
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2367)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:716)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2362)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:716)
at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:429)
at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:215)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2362)
at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2228)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1306)
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3376)
at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:427)
at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:579)
at
org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:222)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1317)
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3376)
at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:427)
at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:579)
at
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:168)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:541)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:196)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:693)
at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:463)
at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:232)
at
org.apache.cocoon.environment.commandline.AbstractCommandLineEnvironment.redirect(AbstractCommandLineEnvironment.java:137)
at
org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:94)
at
org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode.invoke(RedirectToURINode.java:104)
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:152)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:354)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:133)
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:152)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:354)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
at
org.apache.cocoon.bean.CocoonWrapper.processLenient(CocoonWrapper.java:587)
at
org.apache.cocoon.bean.CocoonWrapper.getLinks(CocoonWrapper.java:504)
at
org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:465)
at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:384)
at org.apache.cocoon.Main.main(Main.java:350)
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:324)
at Loader.invokeMain(Unknown Source)
at Loader.run(Unknown Source)
at Loader.main(Unknown Source)
Caused by: java.lang.NullPointerException
at
org.apache.cocoon.xml.xlink.ExtendedXLinkPipe.startElement(ExtendedXLinkPipe.java:169)
at
org.apache.cocoon.components.EnvironmentChanger.startElement(EnvironmentStack.java:159)
at
org.apache.xml.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:245)
at
org.apache.xml.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:329)
at
org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:284)
at
org.apache.xalan.templates.ElemElement.constructNode(ElemElement.java:419)
at
org.apache.xalan.templates.ElemElement.execute(ElemElement.java:363)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2362)
... 57 more
---------
java.lang.NullPointerException
at
org.apache.cocoon.xml.xlink.ExtendedXLinkPipe.startElement(ExtendedXLinkPipe.java:169)
at
org.apache.cocoon.components.EnvironmentChanger.startElement(EnvironmentStack.java:159)
at
org.apache.xml.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:245)
at
org.apache.xml.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:329)
at
org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:284)
at
org.apache.xalan.templates.ElemElement.constructNode(ElemElement.java:419)
at
org.apache.xalan.templates.ElemElement.execute(ElemElement.java:363)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2362)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:716)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2362)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:716)
at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:429)
at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:215)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2362)
at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2228)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1306)
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3376)
at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:427)
at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:579)
at
org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:222)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1317)
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3376)
at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:427)
at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91)
at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:579)
at
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:168)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:541)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:196)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:693)
at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:463)
at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:232)
at
org.apache.cocoon.environment.commandline.AbstractCommandLineEnvironment.redirect(AbstractCommandLineEnvironment.java:137)
at
org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:94)
at
org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode.invoke(RedirectToURINode.java:104)
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:152)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:354)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:133)
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:152)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:354)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
at
org.apache.cocoon.bean.CocoonWrapper.processLenient(CocoonWrapper.java:587)
at
org.apache.cocoon.bean.CocoonWrapper.getLinks(CocoonWrapper.java:504)
at
org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:465)
at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:384)
at org.apache.cocoon.Main.main(Main.java:350)
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:324)
at Loader.invokeMain(Unknown Source)
at Loader.run(Unknown Source)
at Loader.main(Unknown Source)
------------------------------
-------- site2xhtml.xsl --- line 50 and following ----------
<meta name="author" content="Kaj Kandler"/>
<meta name="publisher" content="Conficio"/>
<meta name="copyright" content="Copyright 2003, 2004 Conficio - All
rights reserved"/> <!--©-->
<title><xsl:value-of select="page-title"/></title>
<xsl:element name="link">
<xsl:attribute name="rel">stylesheet</xsl:attribute>
<xsl:attribute name="type">text/css</xsl:attribute>
<xsl:attribute name="href">theme/Master.css</xsl:attribute>
</xsl:element>
</head>
---------------------------------------
For the complaint about the site2xhtml.xsl file, the line seems to be
arbitrary. If I comment the offending statement out, the error moves
5-6 lines down in the file. As mentioned, neither of this happens in
live Jetty serving.
Thanks for having a look at my issues.
Kaj
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]