> From: Gregor Schneider [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat giving JDK Precedence Over JARs in WAR
>
> as to what i understood, david thinks he's using the ones coming with
> jdk 1.6, however, they are giving a nullpointer.
One possible cause is having the same
as to what i understood, david thinks he's using the ones coming with
jdk 1.6, however, they are giving a nullpointer.
therefore, it has to be checked if tomcat uses the endorsed mechanism
using it's very own libraries. seems as in this very case something is
in eclipse's classpath what's missing
javax.xml and the whole endorsed fiasco is very tricky. What I would
suggest is to simply ditch your additional XML libraries and use the
ones that come with the JDK
saves you a lot of head ache and time
Filip
Gregor Schneider wrote:
david,
I already include xml-apis-1.3.03.jar in the W
david,
> I already include xml-apis-1.3.03.jar in the WAR's WEB-INF/lib-directory.
are you saying that the jar containing the said class is in your
WEB-INF/lib-directory already and you get that NullPointer?
On which OS are you running? Is it possible, that you have set an
environment-variable l
Gregor,
I am using the following:
Tomcat 5.5.20
Xalan 2.7.0
Eclipse 3.2.2
JDK build 1.6.0-b105
I already include xml-apis-1.3.03.jar in the WAR's WEB-INF/lib-directory.
However, while I need the class javax.xml.xpath.XPathFactory contained in
xml-apis-1.3.03.jar, this class al
1st, it would help if you let us know which Tomcat / Eclipse-Version...
Anyways, it should work if you do the following:
- Copy your xml-apis-1.3.03.jar into your application's
WEB-INF/lib-directory, so that your application's classloader can find
the corrosponding classes.
Tomcat (at least until