You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Simon Koelsch <ec...@echox.de> on 2006/06/28 12:49:47 UTC

Problems running apache-forrest-0.7 out of the box

Hi there!

I just started looking on apache forrest yesterday and now wanted to try it. I
downloaded the current 0.7 release, untared it, set FORREST_HOME and my PATH and
then tried a 'forrest run' in site-author folder.

Everything seems fine and jetty starts:

,------[ log
|
|  ... snip ... 
|
| run_custom_jetty:
|
| run_default_jetty:
|
|  Note: Use Ctrl-C to stop the Jetty server
|	    
|			12:34:27.916 EVENT  Checking Resource aliases
|			12:34:28.562 EVENT  Starting Jetty/4.2.19
|			12:34:28.842 EVENT  Started WebApplicationContext[/,Apache Forrest]
|			Lazy mode: false
|			12:34:30.708 EVENT  Started SocketListener on 0.0.0.0:8888
|			12:34:30.710 EVENT  Started org.mortbay.jetty.Server@b000e7
|
`---

Now if I try to visit localhost:8080 I get an internal server error:

,----[ error
|
| Message: null
|
| Description: No details available.
| 
| Sender: org.apache.cocoon.servlet.CocoonServlet
|
| Source: Cocoon Servlet
|
| Request URI
|
| cause
| 
| Could not find component for role:
| [org.apache.cocoon.components.modules.input.InputModule/lm]
| (Key='org.apache.cocoon.components.modules.input.InputModule/lm')
| 
| request-uri
|
| /
|
| Apache Cocoon 2.2.0-dev
|
`---

I tried to rebuild the forrest but with no effect.

Later on I tried a current snapshot (forrest_20060628101207.tar.gz) and here the
things work fine.

I'm reporting this to the list because I think such an error shouldn't be
present at a current release.

I'm using a mac and java 1.5:

,---[ system
|
| [echox@applegrutze:~] % java -version
| java version "1.5.0_06"
| Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
| Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
| [echox@applegrutze:~] % uname -a
| Darwin applegrutze.local 8.6.0 Darwin Kernel Version 8.6.0: Tue Mar  7 16:58:48
| PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh powerpc
|
`---

I don't know what to exactly include in this mail, so if you need anything just
tell me.

Best regards,
Simon

Re: Problems running apache-forrest-0.7 out of the box

Posted by Simon Koelsch <ec...@echox.de>.
On Wed, Jun 28, 2006 at 09:02:00PM +1000, David Crossley wrote:
> This is a horrible error that we caused with plugins
> following the 0.7 release.
>
> http://forrest.apache.org/docs_0_80/faq.html#older-plugins

Ok, thats hard to find at the beginning...

> By the way if you are just exploring Forrest and not intending
> immediate production, then using forrest-0.8-dev from SVN
> is probably the best. Your call.

Yep, I will do so.

But would it not better to switch to 0.8 or to add something like "Watch out for
http://forrest.apache.org/docs_0_80/faq.html#older-plugins" to the readme or the
download page or the index.html?

I spended some time at the bugtracker but couldn't find any problem with error
message. If someone searching for a publishing framework and tries to compare
some things just by quick install them, apache forrest as a small problem :)

It looks like this error will appear always if someone tries this out, or I am
wrong?

Greetings,
Simon

Re: Problems running apache-forrest-0.7 out of the box

Posted by David Crossley <cr...@apache.org>.
This is a horrible error that we caused with plugins
following the 0.7 release.

http://forrest.apache.org/docs_0_80/faq.html#older-plugins

By the way if you are just exploring Forrest and not intending
immediate production, then using forrest-0.8-dev from SVN
is probably the best. Your call.

-David

Simon Koelsch wrote:
> Hi there!
> 
> I just started looking on apache forrest yesterday and now wanted to try it. I
> downloaded the current 0.7 release, untared it, set FORREST_HOME and my PATH and
> then tried a 'forrest run' in site-author folder.
> 
> Everything seems fine and jetty starts:
> 
> ,------[ log
> |
> |  ... snip ... 
> |
> | run_custom_jetty:
> |
> | run_default_jetty:
> |
> |  Note: Use Ctrl-C to stop the Jetty server
> |	    
> |			12:34:27.916 EVENT  Checking Resource aliases
> |			12:34:28.562 EVENT  Starting Jetty/4.2.19
> |			12:34:28.842 EVENT  Started WebApplicationContext[/,Apache Forrest]
> |			Lazy mode: false
> |			12:34:30.708 EVENT  Started SocketListener on 0.0.0.0:8888
> |			12:34:30.710 EVENT  Started org.mortbay.jetty.Server@b000e7
> |
> `---
> 
> Now if I try to visit localhost:8080 I get an internal server error:
> 
> ,----[ error
> |
> | Message: null
> |
> | Description: No details available.
> | 
> | Sender: org.apache.cocoon.servlet.CocoonServlet
> |
> | Source: Cocoon Servlet
> |
> | Request URI
> |
> | cause
> | 
> | Could not find component for role:
> | [org.apache.cocoon.components.modules.input.InputModule/lm]
> | (Key='org.apache.cocoon.components.modules.input.InputModule/lm')
> | 
> | request-uri
> |
> | /
> |
> | Apache Cocoon 2.2.0-dev
> |
> `---
> 
> I tried to rebuild the forrest but with no effect.
> 
> Later on I tried a current snapshot (forrest_20060628101207.tar.gz) and here the
> things work fine.
> 
> I'm reporting this to the list because I think such an error shouldn't be
> present at a current release.
> 
> I'm using a mac and java 1.5:
> 
> ,---[ system
> |
> | [echox@applegrutze:~] % java -version
> | java version "1.5.0_06"
> | Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
> | Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
> | [echox@applegrutze:~] % uname -a
> | Darwin applegrutze.local 8.6.0 Darwin Kernel Version 8.6.0: Tue Mar  7 16:58:48
> | PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh powerpc
> |
> `---
> 
> I don't know what to exactly include in this mail, so if you need anything just
> tell me.
> 
> Best regards,
> Simon