forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject RE: Follow/debug Forrest's work
Date Sat, 22 Jul 2006 14:48:25 GMT
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\html\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:thorsten@apache.org] 
> Sent: Saturday, July 22, 2006 2:07 PM
> To: user@forrest.apache.org
> 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:crossley@apache.org]
> > Sent: Thursday, July 20, 2006 4:08 AM
> > To: user@forrest.apache.org
> > 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)


Mime
View raw message