cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject RE: Reason of HTMLSerializer exception
Date Fri, 10 Jan 2003 14:27:17 GMT
On Fri, 10 Jan 2003, Stephan Michels wrote:

>
>
>
> On Fri, 10 Jan 2003, Carsten Ziegeler wrote:
>
> > > -----Original Message-----
> > > From: Stephan Michels [mailto:stephan@apache.org]
> > >
> > > Strange .. Without these libs in WEB-INF/lib/ I don't get this
> > > exception, and with I got this exception. Hmm.
> > >
> > > Do you use tomcat? And when yes, which version?
> > >
> > 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.

Because the included stuff in Java 1.4 is OLD! Because the xml stuff in
Java 1.4 has precedence over WEB-INF/lib (classloader convention), thus
the endorsed directory to even preceed standard Java classes

Giacomo


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


Mime
View raw message