Ok, It's working now. Basically I removed the components definition from
the sitemap.xmap. It worked fine. Now, I need someone to explain to me
what happened. I guess I should not redefine in my sitemap component,
because this will override the config in the war file (the platform). I
don't know if I am right, but I need some one to advice me.
The new contents of the sitemap:
<?xml version="1.0" encoding="iso-8859-1"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:pipelines>
<map:pipeline type="caching">
<map:match pattern="*.html">
<map:generate src="index.xml" />
<map:transform src="doc2html.xsl" />
<map:serialize type="html" />
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>