forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Litchfield <...@csh.rit.edu>
Subject Building Forrest Site under solaris
Date Wed, 12 Jan 2005 02:24:54 GMT

I am having a problem generating my site using Forrest.  It seems to work
fine under windows, but not under solaris.

Forrest:0.6

I am using Xvfb because this is for an automated build.

/usr/openwin/bin/Xvfb :1 -screen 0 800x600x8 &
DISPLAY=:1.0
export DISPLAY


Calling forrest from my ant script like this

     <property name="project.home" location="website" />
    <import file="${forrest.home}/forrest.build.xml" optional="true"/>
    <target name="website" if="forrest.home">
        <antcall target="site" />
    </target>

Where forrest.home=/users/u6/ben/javalib/apache-forrest-0.6/src/core


Here is the output

     [echo] Note that there are various reasons for "build failed"
messages.
     [echo] * Cocoon will report the status of each document:
     [echo]   - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
     [echo] * Even if only one link is broken, you will still get
"failed".
     [echo] * Your site would still be generated, but some pages would be
broken.
     [echo] * Please check the file:
     [echo] /users/u6/ben/pdfbox/pdfbox/website/build/tmp/brokenlinks.xml
     [echo] for any broken links in the generated site.
     [java] Cannot find CatalogManager.properties
     [java] Exception in thread "main"
org.apache.avalon.framework.configuration.ConfigurationException: Could
not load class org.apache.forrest.conf.ForrestConfModule for component
named 'defaults' at
file:/users/u6/ben/javalib/apache-forrest-0.6/src/core/context/WEB-INF/cocoon.xconf:105:91
     [java]     at
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:242)
     [java]     at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:240)
     [java]     at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:269)
     [java]     at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
     [java]     at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522)
     [java]     at
org.apache.cocoon.components.container.CocoonComponentManager.initialize(CocoonComponentManager.java:132)
     [java]     at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
     [java]     at org.apache.cocoon.Cocoon.initialize(Cocoon.java:307)
     [java]     at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
     [java]     at
org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:154)
     [java]     at
org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:98)
     [java]     at org.apache.cocoon.Main.main(Main.java:320)
     [java] Caused by:
org.apache.avalon.framework.component.ComponentException: Could not set up
Component for hint [ defaults] (key [defaults])
     [java]     at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:721)
     [java]     at
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:234)
     [java]     ... 11 more
     [java] Caused by: java.lang.IllegalArgumentException: key can't be
empty
     [java]     at java.lang.System.getProperty(System.java:569)
     [java]     at
org.apache.forrest.conf.ForrestConfModule.loadSystemProperties(ForrestConfModule.java:135)
     [java]     at
org.apache.forrest.conf.ForrestConfModule.initialize(ForrestConfModule.java:123)
     [java]     at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
     [java]     at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:277)
     [java]     at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
     [java]     at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:703)
     [java]     ... 12 more



Thanks,
Ben

Mime
View raw message