cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lisa S <liselotte.ram...@bluegarden.se>
Subject Re: Calling web service in JBoss generates ERROR, but not in Tomcat
Date Fri, 06 Nov 2009 06:27:04 GMT

Thank you!!:-)



dkulp wrote:
> 
> 
> 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
> dkulp@apache.org
> http://www.dankulp.com/blog
> 
> 

-- 
View this message in context: http://old.nabble.com/Calling-web-service-in-JBoss-generates-ERROR%2C-but-not-in-Tomcat-tp26208609p26227379.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message