Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Tomcat giving JDK Precedence Over JARs in WAR

Filip Hanik

2007-08-09

Replies:

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 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 like JAVA_ENDORSED? This overwrites the default
> XML-handling
>
> In your logs, is there a root-cause for that exception you posted?
>
> If all that doesn't give you a clue, start Tomcat in JPDA-mode,
> connect remotely with your Eclipse-debugger and set a breakpoint at
>
> com.myorg.myapp.ws.notification.impl.BufferedSubscriptionManager.publish(BufferedSubscriptionManager.java:73)
>
> Then check the variables which are null but ought to be set, maybe
> that gives you a figure.
>
> HTH
>
> Gregor
>  


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.