Re: Newbie installation difficulties

Andreas Hartmann <[email protected]> Wed, 09 Apr 2003 16:17:56 +0200
Newsgroups gmane.comp.cms.wyona.user
Message-ID <[email protected]>
Hi Steve,

Steve Crossan wrote:
> Hi Andreas,
> 
> Thanks for your quick reply.
> 
> Using xmllint (handy command line xml verification
> tool: (http://xmlsoft.org)) I worked out that it was a problem with the
> *order* of elements in the web.xml file. there's a servlet, then some
> servlet-mappings, then some mime-mappings, then another servlet and
> servlet-mapping. All the elements of the same type need to be
> together. This throws an error even under tomcat 4.1.21, though it doesn't
> seem to stop it loading.

We're patching web.xml using a stylesheet, so we have to be
more careful and change the stylesheet. Thanks again for your help!

> org.apache.xml.utils.WrappedRuntimeException: The output format must have
> a '{http://xml.apache.org/xslt}content-handler' property!

You have to copy [cocoon]/lib/endorsed to [tomcat]/common/endorsed
(you can also download the libraries from
http://wyona.org/lenya/endorsed.tar.gz)

The upcoming documentation will contain a hint about that.

HTH,
Andreas