cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Howard" <coc...@leverageweb.com>
Subject RE: Reason of HTMLSerializer exception
Date Fri, 10 Jan 2003 14:34:04 GMT
> > I'm using tomcat 3.3.1 - remember, if you're using tomcat 4.x
> > you have to copy the cocoon/lib/endorsed jars to tomcat's
> > common/endorsed directory as Giacomo asked.
> 
> Okay okay, to repeat (I'm a bit slow today):
> 
> lib/core -> cocoon/WEB-INF/lib
> lib/optional -> cocoon/WEB-INF/lib
> lib/endorsed -> tomcat/common/endorsed
> 
> Right?
> 
> Why are the following instruction in build.xml?
>     <copy todir="${build.war}/WEB-INF/lib">
>       <fileset dir="${lib.dir}/endorsed">
>         <include name="*.jar"/>
>         <exclude name="servlet*.jar"/>
>       </fileset>
> 
> To complete my confusion, I'm currently working with java 1.4,
> which, if I don't make mistakes, have the XML stuff included.
> So I don't need xml-apis.jar etc. So why to the *grmpf*# get I an
> exception, when I have the xml apis in WEB-INF.

An older version is included with the jdk - which doesn't work for 
cocoon.  This is why you need to copy them to endorsed, which is 
new with 1.4 for the very purpose of overriding the provided version 
with newer ones as needed.

the standard jdk endorsed dir is overridden by default by tomcat's 
startup parameters replaced with tomcat/common/endorsed, which is 
not yet mentioned in the cocoon docs.

> 
> Not my day, really.

Don't worry, by my count you're the 5,000th person that's been hung up 
on this.

Geoff Howard

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message