forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juan Jose Pablos (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FOR-423) Forrest crashes without an xdoc/index.xml file
Date Wed, 15 Jun 2005 21:57:50 GMT
     [ http://issues.apache.org/jira/browse/FOR-423?page=all ]

Juan Jose Pablos updated FOR-423:
---------------------------------

      Component: Core operations
    Description: 
Forrest (Head, revision 125624) seems to assume there's an index.xml file in the xdoc root
directory.  Without this file, Forrest throws a nasty Java exception shown below; however,
the site seems to render correctly.  Additionally, in brokenlinks, there's this message that
I cannot find a reference for: "cocoon://index.html". 

To reproduce this error, seed a fresh project, rename index.xml, and then update site.xml
& tab.xml and all other references to index.html accordingly.

An easy workaround is to include a dummy index.xml file, which stops the exception.  But,
I'm not sure if there's some undiscovered side-effect.  For additional information, please
see User thread "Forrest crashes without an xdoc/index.xml file"

----------------

org.apache.cocoon.CascadingIOException: SourceException: org.apache.excalibur.source.SourceException:
Exception during processing of cocoon://index.html: org.apache.excalibur.source.SourceException:
Exception during processing of cocoon://index.html
        at org.apache.cocoon.environment.commandline.AbstractCommandLineEnvironment.redirect(AbstractCommandLineEnvironment.java:124)
        at org.apache.cocoon.environment.ForwardRedirector.doRedirect(ForwardRedirector.java:158)
        at org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:64)

  was:
Forrest (Head, revision 125624) seems to assume there's an index.xml file in the xdoc root
directory.  Without this file, Forrest throws a nasty Java exception shown below; however,
the site seems to render correctly.  Additionally, in brokenlinks, there's this message that
I cannot find a reference for: "cocoon://index.html". 

To reproduce this error, seed a fresh project, rename index.xml, and then update site.xml
& tab.xml and all other references to index.html accordingly.

An easy workaround is to include a dummy index.xml file, which stops the exception.  But,
I'm not sure if there's some undiscovered side-effect.  For additional information, please
see User thread "Forrest crashes without an xdoc/index.xml file"

----------------

org.apache.cocoon.CascadingIOException: SourceException: org.apache.excalibur.source.SourceException:
Exception during processing of cocoon://index.html: org.apache.excalibur.source.SourceException:
Exception during processing of cocoon://index.html
        at org.apache.cocoon.environment.commandline.AbstractCommandLineEnvironment.redirect(AbstractCommandLineEnvironment.java:124)
        at org.apache.cocoon.environment.ForwardRedirector.doRedirect(ForwardRedirector.java:158)
        at org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:64)


> Forrest crashes without an xdoc/index.xml file
> ----------------------------------------------
>
>          Key: FOR-423
>          URL: http://issues.apache.org/jira/browse/FOR-423
>      Project: Forrest
>         Type: Bug
>   Components: Core operations
>     Versions: 0.7-dev
>  Environment: WinXP generating static site.
>     Reporter: Greg Jenci
>     Priority: Minor

>
> Forrest (Head, revision 125624) seems to assume there's an index.xml file in the xdoc
root directory.  Without this file, Forrest throws a nasty Java exception shown below; however,
the site seems to render correctly.  Additionally, in brokenlinks, there's this message that
I cannot find a reference for: "cocoon://index.html". 
> To reproduce this error, seed a fresh project, rename index.xml, and then update site.xml
& tab.xml and all other references to index.html accordingly.
> An easy workaround is to include a dummy index.xml file, which stops the exception. 
But, I'm not sure if there's some undiscovered side-effect.  For additional information, please
see User thread "Forrest crashes without an xdoc/index.xml file"
> ----------------
> org.apache.cocoon.CascadingIOException: SourceException: org.apache.excalibur.source.SourceException:
Exception during processing of cocoon://index.html: org.apache.excalibur.source.SourceException:
Exception during processing of cocoon://index.html
>         at org.apache.cocoon.environment.commandline.AbstractCommandLineEnvironment.redirect(AbstractCommandLineEnvironment.java:124)
>         at org.apache.cocoon.environment.ForwardRedirector.doRedirect(ForwardRedirector.java:158)
>         at org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:64)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message