You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by FunkyDisco <fu...@hotmail.com> on 2011/12/02 21:43:08 UTC
Re: Cocoon - Tomcat - APEX for FOP PDF printing
Could you check that cocoon is correctly running on Tomcat 7.x (i.e. has a
correct picture)?
Rg,
Funky
Thorsten Scherler-4 wrote:
>
> Please post to the mailing lists and not to me private.
>
> On Thu, 2011-10-06 at 08:45 -0400, Reid McKinley wrote:
>> Thanks for your reply!
>> I'm new to cocoon and tomcat and I'm a little confused.
>>
>> I'm deploying cocoon as a war file (build.sh war) in
>> $CATALINA_HOME/webapps of the tomcat install.
>>
>> Using this method of deploying cocoon with tomcat, will there be a
>> sitemap by default? Do I need to do something else to configure the
>> sitemap with cocoon?
>>
>> As you suggested, I started cocoon with cocoon.sh and it appeared to
>> start Jetty, but I wasn't able to connect to it on port 8888. I must
>> need to do some more Jetty configuration.
>
> Hmm, seems you left out
> http://cocoon.apache.org/2.1/introduction.html
>
> "Cocoon uses XML as a core piece of its framework, but improves the
> model to give you the tools you need and is designed to be flexible
> enough to follow your current needs as well as paradigm shifts that may
> happen in the future"
>
> To get started with developing refer to
> http://cocoon.apache.org/2.1/tracks/first-steps-track.html
>
> Cocoon is not like a driver that you plugin and it does the fop
> transformation magically, you need to tell cocoon what to do and that is
> done in the sitemap.
>
> Please see http://cocoon.apache.org/2.1/howto/howto-explore-samples.html
> and run the example to find an example on how to generate pdf from fo.
>
> Your issue is not tomcat, but your missing understanding of what cocoon
> is and can do for you.
>
> salu2
>>
>> Many thanks again for your help.
>> -Reid
>>
>> On Thu, Oct 6, 2011 at 5:07 AM, Thorsten Scherler <sc...@gmail.com>
>> wrote:
>> On Wed, 2011-10-05 at 11:02 -0700, reidster wrote:
>> > I'm a cocoon newbie trying to setup Tomcat with Cocoon for
>> the purpose of
>> > enabling PDF printing with Oracle APEX using FOP.
>> >
>> > I'm using Linux 64bit, Tomcat 7.0.22, Cocoon 2.1.11, and JDK
>> (build
>> > 1.6.0_24-b07).
>> >
>> > Whenever, I attempt to hit the cocoon site
>> (servername:8080/cocoon/), I
>> > receive the following error:
>> > "org.apache.cocoon.
>> > ResourceNotFoundException: No pipeline matched request:
>> index.html"
>> >
>> > When I go to the servername:8080, the tomcat page comes up
>> OK. I can also
>> > see that the cocoon app is deployed and running from the
>> Tomcat Manager App.
>> >
>> > This error is in the Tomcat log:
>> >
>> > "SEVERE: The web application [/cocoon] appears to have
>> started a thread
>> > named [HSQLDB Timer @6b033450] but has failed to stop it.
>> This is very
>> > likely to create a memory leak."
>> >
>> > Other than these errors, the Tomcat and Cocoon appear to be
>> installed
>> > properly and functioning properly. However, I cannot get
>> past these errors.
>> >
>> > Please provide any insights you may have about using Cocoon
>> with Tomcat.
>> > Or, what else I can check to see why Cocoon isn't working
>> with Tomcat.
>> >
>> > Many Thanks, in advance, for your help
>> >
>> >
>> > Below is the complete java error stack received when I go to
>> > servername:8080/cocoon/
>> >
>> > org.apache.cocoon.ResourceNotFoundException: No pipeline
>> matched request:
>> > index.html
>> >
>>
>>
>> Well can you confirm that there is a pipeline matching
>> index.html in
>> your sitemap?
>>
>> Further did you try to start cocoon with ./cocoon.sh and
>> therefore with
>> jetty. If you see the same problem there then your not
>> matching
>> index.html but cocoon seems to start otherwise just fine the
>> error is
>> coming from cocoon.
>>
>> HTH
>>
>> salu2
>>
>> --
>> Thorsten Scherler <thorsten.at.apache.org>
>> codeBusters S.L. - web based systems
>> <consulting, training and solutions>
>> http://www.codebusters.es/
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>>
>
> --
> Thorsten Scherler <thorsten.at.apache.org>
> codeBusters S.L. - web based systems
> <consulting, training and solutions>
> http://www.codebusters.es/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
--
View this message in context: http://old.nabble.com/Cocoon---Tomcat---APEX-for-FOP-PDF-printing-tp32596121p32904970.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org