Hi guys,
I'm following along in the book Cocoon: Building XML Applications and trying to get the "Hello World" example to work. BEFORE you delete my email, PLEASE take a quick look at the really simple files and config info below and see if you can help me. I would REALLY appreciate the help so that I can learn. First, the version info: Cocoon 2.0.3 (latest stable release, obtained in binary form) JDK: 1.4 Tomcat 4.1.12 (just obtained about a week ago in binary form) OS: Redhat 7.3 The error: "The requested URI "/cocoon/helloworld" was not found." Now, the pipeline config info in sitemap.xmap: <map:pipelines> <map:pipeline> <map:match pattern="helloworld"> <map:generate src="helloworld.xml"/> <map:transform src="helloworld2html.xsl"/> <map:serialize/> </map:match> </map:pipeline> </map:pipelines> Note that, for ultra simplicity, this is the ENTIRE <map:pipelines> section (I deleted the rest). Ok, now here's the simple contents of the helloworld.xml file: <?xml version="1.0"> <document> <text>Hello World</text> </document> And of the helloworld2html.xsl file: <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="document"> <html> <body> <h1><xsl:value-of select="text"/></h1> </body> </html> </xsl:template> </xsl:stylesheet> Basically, with the modified sitemap the URI helloworld can't be mapped to anything and yet the original Cocoon welcome page and other pages it links to still come up. Also, here's the <sitemap> tag in $COCOON_HOME/WEB-INF/cocoon.xconf: <sitemap check-reload="yes" class="org.apache.cocoon.sitemap.SitemapManager" file="sitemap.xmap" logger="sitemap" reload-method="synchron"/> *The check-reload and reload-methods look like what they should be for the sitemap to be reloaded upon being changed and before serving any new requests. *I also tried stopping and restarting Tomcat. *I both flushed and turn off Konqueror's cache as well. Could it have something to do with Cocoon's cache itself?? I would be very happy if one of you could take the time to point me in the right direction. I'm a newbie, I know, but I'd like to become the next happy Cocoon user. All the best, Sonny _____________________________________________________________ Conserve wilderness with a click (free!) and get your own EcologyFund.net email (free!) at http://www.ecologyfund.com. _____________________________________________________________ Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>