The book you're reading is for the previous 2.0.x release of cocoon - you're
using the 2.1 branch so some details like that are going to be out of whack.
There is a status document, and an upgrading guide that might give you some
overview of major changes.  The core concepts of the book should be mostly
still valid with a few exceptions.

Further, the light version of Jetty (bundled now with cocoon for
convenience of "test driving") that you are starting by doing cocoon.sh by
default launches cocoon at the root context.  Where you see /cocoon/ in urls
in examples or demos, they are assuming you've installed cocoon into a
servlet container under a named context - as you would if you dropped
cocoon.war
into the webapps folder of Tomcat.

The existing documentation for the 2.1 branch is a little out of date in
parts
and we could use your help discovering problem areas.  In fact, new
documentation
is happening over at the cocoon wiki (http://wiki.cocoondev.org).

Have fun and write back with anything you have trouble with.

Geoff

> -----Original Message-----
> From: Richard Doust [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 21, 2003 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: Newbie user
>
>
> Hi.
> I've just downloaded (from CVS) the latest code for cocoon (for the first
> time) and built it according to some (somewhat) conflicting/confusing
> instructions (naming build target webapp). I'm running 'cocoon servlet'
> after doing the build. I can open my browser on localhost:8888
> and I see the
> 'Welcome to Cocoon!' page that says I've successfully installed
> Cocoon with
> the button that will take me to cocoon.apache.org. According to the book
> 'Cocoon: Building XML Applications' I should see a whole bunch of links to
> example pages if I go to localhost:8888/cocoon.
> I get this:
>
> Cocoon 2 - Resource not found
> type resource-not-found
> message Resource not found
> description The requested URI "/cocoon" was not found
> sender org.apache.cocoon.servlet.CocoonServlet
> source Cocoon servlet
> cause
> No pipeline matched request: cocoon
> request-uri
> /cocoon
> path-info
> cocoon
>
> If I go to localhost:8888/cocoon/ I get this:
>
> Cocoon 2 - Resource not found
> type resource-not-found
> message Resource not found
> description The requested URI "/cocoon/" was not found
> sender org.apache.cocoon.servlet.CocoonServlet
> source Cocoon servlet
> cause
> Resource not found
> file:/C:/Projects/apache/xml-cocoon2/build/webapp/cocoon/sitemap.xmap
> request-uri
> /cocoon/
> path-info
> cocoon/
>
> I find the fact that it's looking for the sitemap.xmap file in
> .../build/webapp/cocoon somewhat surprising when it hasn't been put there.
> It's in the .../build/webapp directory.
>
> What have I done wrong? Anyone?
> Thanks in advance.
> Rich
>
>
> ---------------------------------------------------------------------
> 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