I am using 0.8-dev and enabled debug in forrest-core.xconf:
<component role="org.apache.cocoon.sitemap.SitemapExecutor"
class="org.apache.cocoon.profiler.debugging.SimpleSitemapExecutor"
logger="debug"/>
-----Original Message-----
From: Thorsten Scherler [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 22, 2006 4:48 PM
To: [email protected]
Subject: RE: Follow/debug Forrest's work
What does the logs say?
cd yourProject
tail -f build/webapp/WEB-INF/logs/*.log
The error you provided could be anything we need more information.
salu2
El sáb, 22-07-2006 a las 15:34 +0200, Martin Minka escribió:
> no, if it would not exist I would get message:
> Internal Server Error
>
> Message: null
>
> Description: No details available.
>
> Sender: org.apache.cocoon.servlet.CocoonServlet
>
> Source: Cocoon Servlet
>
> Request URI
>
> docbook_k2doc.html
>
> cause
>
> C:\k2s\Vyvoj\forrest\src\documentation\resources\stylesheets\docbook\h
> tml\do cbook.xsl (The system cannot find the path specified)
>
> request-uri
>
> /docbook_k2doc.html
>
> Apache Cocoon 2.2.0-dev
>
> -----Original Message-----
> From: Thorsten Scherler [mailto:[EMAIL PROTECTED]
> Sent: Saturday, July 22, 2006 2:07 PM
> To: [email protected]
> Subject: RE: Follow/debug Forrest's work
>
> El sáb, 22-07-2006 a las 11:05 +0200, Martin Minka escribió:
> > 1. I installed 0.8-dev from SVN.
> > 2. seeded new forrest
> > 3. copied DocBook4.4 XSL files to
> > {project:resources.stylesheets}\docbook
>
> hmm, in your sitemap you define
>
> <map:transform src="{project:resources.stylesheets}\docbook\html
> \docbook.xsl" />
>
> Can it be that this location just do not exist?
>
> salu2
>
> > 4. created attached sitemap.xmap
> > 5. created attached file docbook_k2doc.xml and placed it into xdocs
> > (I tested it before with other DocBook2HTML generator)
> >
> > Forrest is reporting error:
> > Internal Server Error
> >
> > Message: null
> >
> > Description: No details available.
> >
> > Sender: org.apache.cocoon.servlet.CocoonServlet
> >
> > Source: Cocoon Servlet
> >
> > Request URI
> >
> > docbook_k2doc.html
> >
> > cause
> >
> > null
> >
> > request-uri
> >
> > /docbook_k2doc.html
> >
> > Apache Cocoon 2.2.0-dev
> >
> >
> > I have no idea what is wrong.
> >
> > Pls. advice me what to do.
> >
> >
> > -----Original Message-----
> > From: David Crossley [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, July 20, 2006 4:08 AM
> > To: [email protected]
> > Subject: Re: Follow/debug Forrest's work
> >
> > Martin Minka wrote:
> > > I am using apache-forrest-0.7 on Windows. I tired what is
> > > described in http://forrest.apache.org/howto-dev.html#debug, bu I am
not able:
> > > 1. to enable profiler, I got "Could not find component for role:
> > > [org.apache.cocoon.components.profiler.Profiler]
> > > (Key='org.apache.cocoon.components.profiler.Profiler')"
> > > 2. enable Cocoon sitemap execution logger, I am not able to find
> > > "sitemap execution" in
> > > main/webapp/WEB-INF/xconf/forrest-core.xconf
> >
> > Those are available in forrest-0.8-dev
> >
> > Regarding item 2, you can probably find the relevant changes in
> > forrest/trunk main/webapp/WEB-INF/xconf/forrest-core.xconf
> > and apply them to your forrest-0.7 version.
> >
> > Here is how (a verbose description for the benefit of others) ...
> >
> > For those that already have a Subversion checkout of the forrest
> > trunk
> > 0.8-dev:
> > svn log main/webapp/WEB-INF/xconf/forrest-core.xconf
> >
> > Otherwise use the web interface:
> > http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/xconf
> > /f
> > orrest
> > -core.xconf
> >
> > Now look for the relevant change, i.e. "sitemap execution".
> >
> > It is Revision 365510. Follow that link to see the associated changes.
> > As you can see the logkit.xconf changes can be ignored. Apply the
> > changes to your forrest-core.xconf
> >
> > That should work in this case. With backporting other changes, YMMV.
> >
> > If you are just exploring Forrest then perhaps better to dive in and
> > use the current trunk development via Subversion.
> >
> > -David
> --
> thorsten
>
> "Together we stand, divided we fall!"
> Hey you (Pink Floyd)
>
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
==> build/webapp/WEB-INF/logs/access.log <==
==> build/webapp/WEB-INF/logs/core.log <==
Caused by: org.apache.excalibur.source.SourceNotFoundException:
file:/C:/k2s/Vyvoj/forrest/src/documentation/resources/stylesheets/docbook/html/docbook.xsl
doesn't exist.
at
org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
at
org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:298)
at
org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:239)
... 62 more
Caused by: java.io.FileNotFoundException:
C:\k2s\Vyvoj\forrest\src\documentation\resources\stylesheets\docbook\html\docbook.xsl
(The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at
org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
... 64 more
==> build/webapp/WEB-INF/logs/debug.log <==
INFO (2006-07-24) 08:36.18:831 [debug] (/docbook_k2doc.html)
PoolThread-4/SimpleSitemapExecutor: - Selector 'exists' succeeded.
INFO (2006-07-24) 08:36.18:831 [debug] (/docbook_k2doc.html)
PoolThread-4/SimpleSitemapExecutor: - Adding generator 'file' (<map:generate> -
file:/C:/tools/forrest/main/webapp/sitemap.xmap:345:56).
INFO (2006-07-24) 08:36.18:831 [debug] (/docbook_k2doc.html)
PoolThread-4/SimpleSitemapExecutor: - Adding transformer 'xinclude'
(<map:transform type="xinclude"> -
file:/C:/tools/forrest/main/webapp/sitemap.xmap:351:41).
INFO (2006-07-24) 08:36.18:831 [debug] (/docbook_k2doc.html)
PoolThread-4/SimpleSitemapExecutor: - Adding transformer 'xslt'
(<map:transform> - file:/C:/tools/forrest/main/webapp/sitemap.xmap:353:73).
INFO (2006-07-24) 08:36.18:831 [debug] (/docbook_k2doc.html)
PoolThread-4/SimpleSitemapExecutor: - Adding serializer 'xml' (<map:serialize
type="xml"> - file:/C:/tools/forrest/main/webapp/sitemap.xmap:355:36).
INFO (2006-07-24) 08:36.18:831 [debug] (/docbook_k2doc.html)
PoolThread-4/SimpleSitemapExecutor: - Variable Context ends
INFO (2006-07-24) 08:36.18:831 [debug] (/docbook_k2doc.html)
PoolThread-4/SimpleSitemapExecutor: - Leaving sitemap
INFO (2006-07-24) 08:36.19:331 [debug] (/docbook_k2doc.html)
PoolThread-4/SimpleSitemapExecutor: - Variable Context ends
INFO (2006-07-24) 08:36.19:331 [debug] (/docbook_k2doc.html)
PoolThread-4/SimpleSitemapExecutor: - Variable Context ends
INFO (2006-07-24) 08:36.19:331 [debug] (/docbook_k2doc.html)
PoolThread-4/SimpleSitemapExecutor: - Leaving sitemap
==> build/webapp/WEB-INF/logs/error.log <==
Caused by: org.apache.excalibur.source.SourceNotFoundException:
file:/C:/k2s/Vyvoj/forrest/src/documentation/resources/stylesheets/docbook/html/docbook.xsl
doesn't exist.
at
org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
at
org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:298)
at
org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:239)
... 62 more
Caused by: java.io.FileNotFoundException:
C:\k2s\Vyvoj\forrest\src\documentation\resources\stylesheets\docbook\html\docbook.xsl
(The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at
org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
... 64 more
==> build/webapp/WEB-INF/logs/flow.log <==
==> build/webapp/WEB-INF/logs/idgen.log <==
==> build/webapp/WEB-INF/logs/linkrewriter.log <==
==> build/webapp/WEB-INF/logs/locationmap.log <==
==> build/webapp/WEB-INF/logs/sitemap.log <==
WARN (2006-07-24) 08:36.17:378 [sitemap.action.sourcetype]
(/docbook_k2doc.html) PoolThread-4/SourceTypeAction: Source '[EMAIL PROTECTED]'
not found
WARN (2006-07-24) 08:36.17:378 [sitemap.action.sourcetype]
(/docbook_k2doc.html) PoolThread-4/SourceTypeAction: Source '[EMAIL PROTECTED]'
not found
WARN (2006-07-24) 08:36.17:393 [sitemap.action.sourcetype]
(/docbook_k2doc.html) PoolThread-4/SourceTypeAction: Source '[EMAIL PROTECTED]'
not found
WARN (2006-07-24) 08:36.17:409 [sitemap.action.sourcetype]
(/docbook_k2doc.html) PoolThread-4/SourceTypeAction: Source '[EMAIL PROTECTED]'
not found
WARN (2006-07-24) 08:36.17:424 [sitemap.action.sourcetype]
(/docbook_k2doc.html) PoolThread-4/SourceTypeAction: Source '[EMAIL PROTECTED]'
not found
WARN (2006-07-24) 08:36.17:440 [sitemap.action.sourcetype]
(/docbook_k2doc.html) PoolThread-4/SourceTypeAction: Source '[EMAIL PROTECTED]'
not found
WARN (2006-07-24) 08:36.17:862 [sitemap.action.sourcetype]
(/docbook_k2doc.html) PoolThread-4/SourceTypeAction: Source '[EMAIL PROTECTED]'
not found
WARN (2006-07-24) 08:36.17:878 [sitemap.action.sourcetype]
(/docbook_k2doc.html) PoolThread-4/SourceTypeAction: Source '[EMAIL PROTECTED]'
not found
WARN (2006-07-24) 08:36.17:893 [sitemap.action.sourcetype]
(/docbook_k2doc.html) PoolThread-4/SourceTypeAction: Source '[EMAIL PROTECTED]'
not found
WARN (2006-07-24) 08:36.17:893 [sitemap.action.sourcetype]
(/docbook_k2doc.html) PoolThread-4/SourceTypeAction: Source '[EMAIL PROTECTED]'
not found
==> build/webapp/WEB-INF/logs/xmlform.log <==