It's working NOW. Can not thank you enough for this!

Now, let's figure out why it was failing. I was following the tutorial on http://cocoon.apache.org/2.1/howto/howto-html-pdf-publishing.html and I obtained the site map contents from their. If the site map was missing something, how did you know that this is caused by the contents of the cocoon.xconf ??

This tells me that the sitemap is read before cocoon.xconf, and contents of the later has to be initialized by the former ! Am I right ?



Mansour wrote:
Joerg Heinicke wrote:
On 18.11.2007 11:35 Uhr, Mansour wrote:

I really need to understand how it works, what servlet starts when the
request is received, and yes the minimum configuration.

All I need is to understand the minimum requirements. I think I know what I need better than anyone else!

Nobody questions that you understand your requirements the best.
That's the impression I got from the posted answers.
I also see where you are coming from with setting up a minimal Cocoon. But there was a reason why I suggested you to not start from scratch but with a minimal build that our build system provides. And there are reasons why people think Cocoon has a very steep learning curve. Cocoon uses a lot of technologies which you probably don't want to know all beforehand.
Good point! Well thank you for trying to make my life easier. ;)

However, I did a minimal built and tried to write a small program, but was not able to get it to work. I think now my problem is in the sitemap "the thing that everybody wants me to worry about".

The main configuration files cocoon.xconf and the root sitemap should also be quite well-documented with all their component setups. You now seem to use the provided cocoon.xconf but wiped out the root sitemap which has all the components for the sitemaps in it like pipelines, generators, transformer, serializers, etc.
YES !! That's exactly what I did.
Readd the map:components section to your sitemap and you should make at least some progress. Once you have that working you can remove single components like unused generators or serializers, but not the whole section. You need at least one of each type, for your example the caching pipeline, the file generator, the XSLT transformer and the HTML serializer.
Now we are talking !!  I will try this and post the results.

If you are only starting with Cocoon right now you should really consider using Cocoon 2.2, especially in regard to minimal build. Many "optional" components which are in core in 2.1 have been made really optional in 2.2. Integration should be much easier in general. Learning now 2.1 and later 2.2 seems to be too much effort since so much has changed between both.

Good idea. I will finish this simple hello world first and move to Cocoon 2.2
Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to