cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Coultard" <>
Subject Newbie: Ok I've got it installed but can't get a new stand alone application to run
Date Sun, 30 Mar 2003 12:04:25 GMT
Hi All,

Big thanks to Geoff Howard for his swift and fruitful reply to my last post.

I am just starting with Cocoon and I'm sorry to ask yet more what I'm sure
are stupid questions but...

Following Geoff's advice I have read the enclosed documentation and looked
on However both sources seem to concentrate on
the concepts and skip the more basic set-up procedures... Using these two
sources I have set up "work" as a sub-dir of mount and put in it two files:
sitemap.xmap and home.html, the source for which is shown below. When I
browse to http://localhost:8080/cocoon/mount/work/ I receive the following

Cocoon 2 - Resource not found
type resource-not-found
message Resource not found
description The requested URI "/cocoon/mount/work/home.html" was not found.
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet

I can see that it clearly is getting as far as looking for the file
home.html in the root folder of the app but I don't understand why it
doesn't find it: it is there! Clearly I'm missing a point somewhere...

I am running:
Win 98
JDK 1.3.1
Tomcat 4.1.24
Cocoon 2.0.4

Cocoon runs ok: the examples work just fine.

Thanks in advance,

Kind Regards,

Phil Coultard

<?xml version="1.0"?>
<map:sitemap xmlns:map="">

    <map:generators   default="file"/>
    <map:transformers default="xslt"/>
    <map:readers      default="resource"/>
    <map:serializers  default="html"/>
    <map:matchers default="wildcard"/>

   <map:match pattern="">
     <map:redirect-to uri="home.html"/>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">


Hi There!

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.465 / Virus Database: 263 - Release Date: 25/03/03

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message