On Fri, 10 Jan 2003, Stephan Michels wrote:

>
>
>
> On Fri, 10 Jan 2003, Carsten Ziegeler wrote:
>
> > > -----Original Message-----
> > > From: Stephan Michels [mailto:[EMAIL PROTECTED]]
> > >
> > > 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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to