RE: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread Caldarale, Charles R
> 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

Re: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread Gregor Schneider
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

Re: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread Filip Hanik - Dev Lists
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

Re: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread Gregor Schneider
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

Re: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread david2
mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-giving-JDK-Precedence

Re: Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread Gregor Schneider
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

Tomcat giving JDK Precedence Over JARs in WAR

2007-08-09 Thread david2
) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Any idea what might be going wrong here? Thanks, -David -- View this message in context: http://www.nabble.com/Tomcat-giving-JDK-Precedence-Over-JARs-in