forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Børre Gaup <boe...@skolelinux.no>
Subject Re: HTML source files broken
Date Mon, 30 Oct 2006 14:35:47 GMT
Gask, čakčamánu 27. b. 2006 01.46, David Crossley čálii:
> Sjur Moshagen wrote:
> > HTML files are broken as source files, due to a bug in the creation
> > of the navigation system (menus, tabs, etc). Here's one case from our
> > site:
> >
> > Internal Server Error
> >
> > Message: null
> >
> > Description: No details available.
> >
> > Sender: org.apache.cocoon.servlet.CocoonServlet
> >
> > Source: Cocoon Servlet
> >
> > Request URI
> >
> > upload/upload-corpus-file.html
> > cause
> >
> > dispatcherError: 500 - Internal server error
> > The contract "siteinfo-meta-navigation" has thrown thrown an
> > exception by resolving raw data from "cocoon://upload/upload-corpus-
> > file.navigation.xml".
> >
> > dispatcherErrorStack:
> >  org.apache.excalibur.source.SourceNotFoundException: Exception
> > during processing of cocoon://upload/upload-corpus-file.navigation.xml
> > request-uri
> >
> > /upload/upload-corpus-file.html
> > Apache Cocoon 2.2.0-dev
> >
> >
> >
> > When opening up http://localhost:8888/upload/upload-corpus-
> > file.navigation.xml it isn't found. When trying the next steps in the
> > sitemap chain, it goes like this:
> >
> > http://localhost:8888/upload/upload-corpus-file.menu.xml   - not found
> > http://localhost:8888/upload/upload-corpus-file.book.xml   - not found
> > http://localhost:8888/upload/menulinks-upload-corpus-file  - ok
> >
> > Hm, I said in the other mail that it isn't Dispatcher related
> > (because it is broken somewhere between *.book.xml and **menulinks-*,
> > which are not Dispatcher-specific), but all the above matches are
> > found in the dispatcher/dataModel.xmap.
>
> It must be either Dispatcher-related or it is a problem
> with your site's menus, because our automatic builds
> of the seed site are fine with skins:
>
> http://forrest.zones.apache.org/
> http://forrest.zones.apache.org/ft/build/forrest-seed/samples/embedded_html
>.html

The reason for this error was the we had hyphens (-) in the filename. When we 
replaced the hyphens with underscores, everything worked like a charm again.

-- 
Børre Gaup

Mime
View raw message