You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Johannes Schaefer <jo...@uidesign.de> on 2005/10/12 10:27:34 UTC

Forrest in Tomcat 5.5.9 (forrest webapp-local)

Please subscribe to  <us...@forrest.apache.org>, see
  http://forrest.apache.org/mail-lists.html.
I'm crossposting there, to get you going!

We're using Forrest either in "live" mode ('forrest run')
or to produce static (HTML, PDF) content, so I cannot help
you with Tomcat ('forrest webapp-local').

You did
> "forrest webapp-local"
and copied
> forrest\site-author\build\webapp in tomcat 5.5.9 webapp
and got the following error message (localhost/forrest):
> type Status report
> message Servlet Cocoon is not available
> description The requested resource (Servlet Cocoon is not
> available) is not available.

>From what I see in the documentation it may be that you need
to do 'forrest webapp' w/o the "-local", but the documentation
may be wrong :-(   See:
  http://forrest.apache.org/docs_0_70/your-project.html#forrest_run
  http://forrest.apache.org/docs_0_70/primer.html

Hope that somebody may help you to get Forrest inside Tomcat.

Assuming that you use forrest-v0.7; Tomcat 5.5.9; WinXP-SP2
Correct this please if I'm wrong.

Cheers
Johannes


Schlung, Ruediger schrieb:
> Hallo Herr Schäfer,
> vielen Dank für ihre Antwort.
> Ich bin auf Sie durch " Active Committers " (
> http://forrest.apache.org/who.html#active )aufmerksam geworden.
> Ich habe zwischenzeitlich mal so verschiedenes ausprobiert. Die
> eXist-Datenbank direkt in Forrest einzubinden, davon habe ich inzwischen
> Abstand genommen. ( Erscheint mir unnötig kompliziert und die Anleitungen
> dazu sind scheinbar nicht mehr völlig aktuell. ) Ich habe daher "forrest
> webapp-local" ausgeführt. Wenn ich dann den Inhalt von
> forrest\site-author\build\webapp in tomcat 5.5.9 webapp herüberkopiere zeigt
> mir der tomcat-manager zwar "forrest" an, beim Aufruf localhost/forrest
> bekomme ich allerdings die Fehlermeldung:
> 
> type Status report
> 
> message Servlet Cocoon is not available
> 
> description The requested resource (Servlet Cocoon is not available) is not
> available.
> 
> Woran kann das liegen?
> Haben Sie vielleicht einen Tipp für mich?
> 
> Vielen Dank 
> Rüdiger Schlung
> 

<snip/>


-- 
User Interface Design GmbH * Teinacher Str. 38 * D-71634 Ludwigsburg
Fon +49 (0)7141 377 000 * Fax  +49 (0)7141 377 00-99
Geschäftsstelle: User Interface Design GmbH * Lehrer-Götz-Weg 11 *
D-81825 München
www.uidesign.de

Besuchen Sie uns auf dem World Usability Day am 3. Nov. 2005 in
Stuttgart oder München. Unter dem Motto "Making It Easy" finden Sie
interessante Exponate und Vorträge.
http://www.worldusabilityday.de/

Buch "User Interface Tuning" von Joachim Machate & Michael Burmester
www.user-interface-tuning.de

Re: Forrest in Tomcat 5.5.9 (forrest webapp-local)

Posted by Gunther Sablon <Gu...@luciad.com>.
Hi,
To start forrest 0.7 as a webapp inside Tomcat we had to change the web.xml.
We made the init-param "force-property" empty
(default it had the value 
"org.apache.commons.logging.Log=org.apache.commons.logging.impl.LogKitLogger").
Without doing so the webapp didn't start up.

This may be the reason that the Servlet Cocoon is not available to you.
The standard output of the servlet engine may give you more information

Btw, I think we had to do this already for 0.6 as well.

Gunther



Ross Gardler wrote:

> Johannes Schaefer wrote:
>
>> Please subscribe to  <us...@forrest.apache.org>, see
>>   http://forrest.apache.org/mail-lists.html.
>> I'm crossposting there, to get you going!
>>
>> We're using Forrest either in "live" mode ('forrest run')
>> or to produce static (HTML, PDF) content, so I cannot help
>> you with Tomcat ('forrest webapp-local').
>>
>> You did
>>
>>> "forrest webapp-local"
>>
>>
>> and copied
>>
>>> forrest\site-author\build\webapp in tomcat 5.5.9 webapp
>>
>>
>> and got the following error message (localhost/forrest):
>>
>>> type Status report
>>> message Servlet Cocoon is not available
>>> description The requested resource (Servlet Cocoon is not
>>> available) is not available.
>>
>>
>>
>>> From what I see in the documentation it may be that you need
>>
>> to do 'forrest webapp' w/o the "-local", but the documentation
>> may be wrong :-(   See:
>>   http://forrest.apache.org/docs_0_70/your-project.html#forrest_run
>>   http://forrest.apache.org/docs_0_70/primer.html
>
>
> No the documentation is correct. Although there was a user reporting 
> issues with plugins in the war file recently. So you may still find 
> problems with that. Please let us know if you do.
>
> Ross
>
>

-- 
Gunther Sablon 
Luciad ** Parijsstraat 74 ** 3000 Leuven
tel:    +32 / 16 / 26 28 30
mailto:Gunther.Sablon@luciad.com


Re: Forrest in Tomcat 5.5.9 (forrest webapp-local)

Posted by Ross Gardler <rg...@apache.org>.
Johannes Schaefer wrote:
> Please subscribe to  <us...@forrest.apache.org>, see
>   http://forrest.apache.org/mail-lists.html.
> I'm crossposting there, to get you going!
> 
> We're using Forrest either in "live" mode ('forrest run')
> or to produce static (HTML, PDF) content, so I cannot help
> you with Tomcat ('forrest webapp-local').
> 
> You did
> 
>>"forrest webapp-local"
> 
> and copied
> 
>>forrest\site-author\build\webapp in tomcat 5.5.9 webapp
> 
> and got the following error message (localhost/forrest):
> 
>>type Status report
>>message Servlet Cocoon is not available
>>description The requested resource (Servlet Cocoon is not
>>available) is not available.
> 
> 
>>>From what I see in the documentation it may be that you need
> to do 'forrest webapp' w/o the "-local", but the documentation
> may be wrong :-(   See:
>   http://forrest.apache.org/docs_0_70/your-project.html#forrest_run
>   http://forrest.apache.org/docs_0_70/primer.html

No the documentation is correct. Although there was a user reporting 
issues with plugins in the war file recently. So you may still find 
problems with that. Please let us know if you do.

Ross