On 02/09/2014 09:53, David Crossley wrote:
I am having difficulty deploying a cocoon.war to a local Tomcat (using recent 
v7.0.55).

To start with, see the Cocoon jail demo:

http://cocoon.zones.apache.org/cocoon21/samples/
and notice how the trailing slash just works okay
as it should according to the sitemap.xmap

Now when i build Cocoon 2.1.13-dev (head of svn branch) locally,
and then do:
]$ ./cocoon.sh
http://localhost:8888/samples/
all is okay using the built-in Jetty.

Now do:
]$ ./build.sh war
then copy to the Tomcat webapps directory.
http://localhost:8080/cocoon/samples/
and get error:
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: 
samples/index.html

Looking at the docs for the cocoon.zones.apache.org at
http://wiki.apache.org/cocoon/JailManagement
https://svn.apache.org/repos/private/pmc/cocoon/cocoon.zones.apache.org/
i do not see any special configuration for Tomcat.

So can anyone explain the difference.

Also does anyone know how that redirect to "index.html" is happening.

I do vaguely recall these problems in the past.

Hi David,
can [1] be of any help?

[1] http://blog.tirasa.net/apache-fun-cocoon-2-1.html

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/

Reply via email to