It's a "bug" in JBoss in the way they map java.util.logging logging that CXF 
does into log4j.   Anything we log at "info" level into java.util.logging 
comes out as ERROR level.

There is some information at:
http://cxf.apache.org/docs/debugging-and-logging.html
on how to get CXF to log to Log4J.  I'm not sure if that is usable with JBoss 
or not, but it may help.  With 2.2.5, we're going to try and detect log4j 
usage a bit better and auto switch.

Dan



On Thu November 5 2009 2:57:47 am Lisa S wrote:
> Hi,
> I call a web service with cxf. When I run the code in JBoss I get the
> following
> error message:
> 
> INFO: No cxf.xml configuration file detected, relying on defaults.
> 07:26:36,950 ERROR[STDERR] 2009-nov-05 07:26:36
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromWSDL
> INFO: Creating Service {http://www.medvind.it/}MvBusLayerService from WSDL:
> http://medvind.dyndns.org:3333/MvBusinessLayer/MvBusLayerService.asmx?WSDL
> 
> 
> When I run the same code in Tomcat I don“t get the ERROR text.
> 
> 2009-nov-05 07:48:50
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromWSDL
> INFO: Creating Service {http://www.medvind.it/}MvBusLayerService from WSDL:
> http://medvind.dyndns.org:3333/MvBusinessLayer/MvBusLayerService.asmx?WSDL
> 
> In both cases the service returns ok. But why does JBoss log an ERROR?
> 
> I use cxf 2.1.2 and JBoss 4.2.0.GA.
> 
> Thanks!
> 

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to