You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by jd...@austin.rr.com on 2006/03/01 18:41:18 UTC
Forrest 0.7 install issues
Running JDK 1.4.2 and attempting to install apache-forrest-0.7 on
Windows XP.
I cd to FORREST_HOME/site-author and type 'forrest run' or 'forrest' and
get a lot of Java errors.
When I try to run the webapp (forrest run) and point my browser to
localhost:8888, I get the following.
Could not find component for role:
[org.apache.cocoon.components.modules.input.InputModule/lm]
(Key='org.apache.cocoon.components.modules.input.InputModule/
Re: Forrest 0.7 install issues
Posted by David Crossley <cr...@apache.org>.
Thorsten Scherler wrote:
> jdwilliams@austin.rr.com escribi??:
> > Running JDK 1.4.2 and attempting to install apache-forrest-0.7 on
> > Windows XP.
> >
> > I cd to FORREST_HOME/site-author and type 'forrest run' or 'forrest' and
> > get a lot of Java errors.
I don't get "Java errors", just the usual processing info.
> > When I try to run the webapp (forrest run) and point my browser to
> > localhost:8888, I get the following.
> >
> > Could not find component for role:
> > [org.apache.cocoon.components.modules.input.InputModule/lm]
> > (Key='org.apache.cocoon.components.modules.input.InputModule/
>
>
> That seems like a plugin issue. In 0.8-dev we introduced the locationmap
> (lm) not only in the core but as well for the plugins.
>
> Having said this a quick fix is to
> cd FORREST_HOME/plugins
> and then cd to all the plugins mentioned in the forrest.properties and
> do "ant local-deploy":
> # The names of plugins that are required to build the project
> # comma separated list (no spaces)
> # Run "forrest available-plugins" for a list of plug-ins currently
> available
> project.required.plugins=org.apache.forrest.plugin.input.dtdx,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.POD,org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.output.Text,org.apache.forrest.plugin.input.wiki,org.apache.forrest.plugin.input.OpenOffice.org
>
> I reckon there is a better way (I recall to change the version number
> but cannot quite remember - should be in dev archive), but that should
> fix your problem for now.
All that is needed is to edit forrest.properties and
add a version number for the projectInfo plugin.
So for the site-author example ...
project.required.plugins=org.apache.forrest.plugin.input.dtdx,org.apache.forrest.plugin.input.projectInfo-0.1,org.apache.forrest.plugin.output.POD,org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.output.Text,org.apache.forrest.plugin.input.wiki,org.apache.forrest.plugin.input.OpenOffice.org
-David
Re: Forrest 0.7 install issues
Posted by Thorsten Scherler <th...@apache.org>.
El mié, 01-03-2006 a las 11:41 -0600, jdwilliams@austin.rr.com escribió:
> Running JDK 1.4.2 and attempting to install apache-forrest-0.7 on
> Windows XP.
>
> I cd to FORREST_HOME/site-author and type 'forrest run' or 'forrest' and
> get a lot of Java errors.
>
> When I try to run the webapp (forrest run) and point my browser to
> localhost:8888, I get the following.
>
> Could not find component for role:
> [org.apache.cocoon.components.modules.input.InputModule/lm]
> (Key='org.apache.cocoon.components.modules.input.InputModule/
>
That seems like a plugin issue. In 0.8-dev we introduced the locationmap
(lm) not only in the core but as well for the plugins.
Having said this a quick fix is to
cd FORREST_HOME/plugins
and then cd to all the plugins mentioned in the forrest.properties and
do "ant local-deploy":
# The names of plugins that are required to build the project
# comma separated list (no spaces)
# Run "forrest available-plugins" for a list of plug-ins currently
available
project.required.plugins=org.apache.forrest.plugin.input.dtdx,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.POD,org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.output.Text,org.apache.forrest.plugin.input.wiki,org.apache.forrest.plugin.input.OpenOffice.org
I reckon there is a better way (I recall to change the version number
but cannot quite remember - should be in dev archive), but that should
fix your problem for now.
HTH
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)