Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar
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

Re: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Kjetil Kjernsmo
On Monday 07 October 2002 19:24, Sonny Sukumar wrote: The error: The requested URI /cocoon/helloworld was not found. Now, the pipeline config info in sitemap.xmap: I could have wild guess at this since I just was confused looking at a helloworld example myself. But of course, your problem

Re: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar
Hi, I should have mentioned that sitemap.xmap is in $COCOON_HOME, where it is supposed to be from what I've read. I tried your suggestion, and got the same error. Btw, can anyone tell me why there are MULTIPLE sitemap.xmap files in $COCOON_HOME subdirectories? I thought there was only

Re: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Steven Noels
Sonny Sukumar wrote: If anyone can help me out with my original Hello World question, I would REALLY appreciate it..I want to get this to work sooo much. I have trouble understanding your problem, too. Could you give us a dirlisting of $TOMCAT_HOME/webapps/cocoon - assuming you have

Re: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar
Sure, here's a quick copy and paste of $COCOON_HOME (same thing as $TOMCAT_HOME/webapps/cocoon): cocoon.xconf.moved i18n resources sitemap.xmap.bak tutorial docs logicsheets samples stylesheets WEB-INF documentationMETA-INF search

RE: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Hunsberger, Peter
I also don't understand why the other Cocoon pages still come up after I deleted ALL the other stuff inside the map:pipelines tag other than my map:pipeline for the Hello World example that generates from helloworld.xml, transforms with helloworld2html.xsl and serializes the output. That

Re: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Steven Noels
Sonny Sukumar wrote: The problem *is* a Cocoon problem. The Tomcat servlet engine works just fine and Cocoon runs on it, but I can't get this Hello World example to work. I also don't understand why the other Cocoon pages still come up after I deleted ALL the other stuff inside the

RE: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar
On a fresh Tomcat (4.1.12) installation I copied the file cocoon.war (this is Cocoon 2.0.3) into the $TOMCAT_HOME/webapps directory. I then started Tomcat using $TOMCAT_HOME/bin/startup.sh, navigated to http://localhost:8080/cocoon and Tomcat expanded cocoon.war into

Re: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar
I switched treeprocessor by commenting out one sitemap tag and uncommenting the other one in cocoon.xconf. Btw, what is stored in Tomcat's work directory? This might sound like a dumb question to you, but I'm still on Hello World. :-) Likewise, I haven't done anything with error handling,

Re: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Steven Noels
Sonny Sukumar wrote: I switched treeprocessor by commenting out one sitemap tag and uncommenting the other one in cocoon.xconf. no huuray however? Btw, what is stored in Tomcat's work directory? This might sound like a dumb question to you, but I'm still on Hello World. :-) using the

Re: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Steven Noels
Sonny Sukumar wrote: HOWEVER: Cocoon now recognizes the URI when I navigate to http://localhost:8080/cocoon/helloworld, but it is nothing but a blank page. This started happening after switching the sitemap tag, and this behavior is still there after deleting the contents of

Re: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar
I cleared out error.log and accessed http://localhost:8080/cocoon/helloworld again and there's no errors that are logged. The page just comes up blank. When I click on View Source, the document source is COMPLETELY empty. Should I be using something other than serialize/? I just copied

Re: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Steven Noels
Sonny Sukumar wrote: I cleared out error.log and accessed http://localhost:8080/cocoon/helloworld again and there's no errors that are logged. The page just comes up blank. When I click on View Source, the document source is COMPLETELY empty. Should I be using something other than

Re: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar
Man, Steven, thanks for pointing that out--the Hello World example works now. The really weird thing is that I *did* check that quite a few times and fixed the missing ? mark before. However, I had made a backup copy of the helloworld.xml file so that I could delete my whole cocoon

RE: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Geoff Howard
- Make sure you xml declaration in helloworld.xml is ?xml version=1.0? (in your email it reads: ?xml version=1.0, missing the ending ? - hopefully that was just a typo. - Try adding to your xsl: xsl:template match=/ xsl:apply-templates select=document/ /xsl:template Doing those two