Re: NPE when running on Tomcat8

2017-02-27 Thread Colm O hEigeartaigh
We might as well merge the NPE fix anyway. Could you submit a PR please? Colm. On Tue, Feb 21, 2017 at 7:25 PM, Almiray wrote: > The problem occurs if an only if CXF jars are placed under > $CATALINA_HOME/endorsed.This was a mistake on my part as I w under the > impression that $CATALINA_HOME/l

Re: NPE when running on Tomcat8

2017-02-21 Thread Almiray
The problem occurs if an only if CXF jars are placed under $CATALINA_HOME/endorsed.This was a mistake on my part as I w under the impression that $CATALINA_HOME/lib should remain pristine. Turns out the endorsed directory is used to override classes delivered by the JDK itself. Placing CXF libr

Re: NPE when running on Tomcat8

2017-02-21 Thread Sergey Beryozkin
I haven't seen any issues in running CXF in Tomcat 8, we've had it added to the actual war, looks like you put CXF into the common lib folder ? If yes, how did you patch it for the given resource be loaded if it is 'null', did you delegate to the system loader ? Thanks, Sergey On 20/02/17 14:4

NPE when running on Tomcat8

2017-02-20 Thread Andres Almiray
Hello everyone, I'm trying to run a simple webservice on Tomcat 8.5.11 with CXF 3.1.10 and have encountered two separate NPEs when CXF attempts to resolve a BusFactory. The first one appears at https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/BusFactory.java#L397 ap