Hi 2008/6/6 Johannes Hoechstaedter <[EMAIL PROTECTED]>:
> I tried, but I failed :). I didn't foun the file > src/main/resources/META-INF/cocoon/avalon/custom-sitemap-compents.xconf so I > put the content into my sitemap.xmap. I don't have an orcale db, so I > replaced everything oracle sepcific by mysql data and adapted ehe sql > string. On "mvn jetty:run" I get the error > > java.lang.RuntimeException: Cannot invoke listener > org.springframework.web.context.ContextLoaderListener > This problem may have been because the namespace was missing from the otherwise excellent example Dom gave. The custom-sitemap-components.xconf should have read: <?xml version="1.0" encoding="UTF-8"?> <map:components xmlns:map="http://apache.org/cocoon/sitemap/1.0"> <map:transformers> <map:transformer logger="sitemap.transformer.sql" name="sql" src="org.apache.cocoon.transformation.SQLTransformer"/> </map:transformers> </map:components> ... or you can simply add this to your own sitemap.xmap instead. I'll update the daisy page for the databases block to include this information. Thanks, Dom! Andrew. -- [EMAIL PROTECTED] / [EMAIL PROTECTED] http://www.andrewsavory.com/
