cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bimargul...@gmail.com>
Subject Re: Using cxf with external web-services
Date Wed, 16 Apr 2008 22:53:02 GMT
Right. Spring calls commons-logging. Commons-logging will take log4j if
available, otherwise it will resort to j.u.l. CXF does not use
commons-logging, it just uses j.u.l unless you tell it otherwise.

You need to configure log4j, or tell commons-logging to use j.u.l, to get
control of those messages.


On Wed, Apr 16, 2008 at 6:37 PM, Glen Mazza <glen.mazza@verizon.net> wrote:

> That issue came up recently on CXF-dev...I think the problem is that you
> are seeing *Spring framework* logging messages, not CXF's.  I believe
> you can configure your logging messages further, to filter Spring's as
> well, but have not researched this matter much.
>
> Glen
>
> Am Samstag, den 12.04.2008, 16:45 +0100 schrieb Tim Perrett:
> > Awesome Glen, just the ticket!
> >
> > Oddly, my tester now works, although I get info messages output in the
> > terminal, despite my global CXF logging level set to WARNING?
> > Its not really a massive problem, but just a bit disconcerting having
> > all that red output in eclipse. The messages Im getting are detailed
> > below.
> >
> > Any help would be awesome :-)
> >
> > Cheers, Tim
> >
> >
> >
> > Apr 12, 2008 12:44:57 PM
> > org.springframework.context.support.AbstractApplicationContext
> > prepareRefresh
> > INFO: Refreshing
> > org.apache.cxf.bus.spring.BusApplicationContext@a084f8: display name
> > [org.apache.cxf.bus.spring.BusApplicationContext@a084f8]; startup date
> > [Sat Apr 12 12:44:57 BST 2008]; root of context hierarchy
> > Apr 12, 2008 12:44:57 PM
> > org.apache.cxf.bus.spring.BusApplicationContext getConfigResources
> > INFO: No cxf.xml configuration file detected, relying on defaults.
> > Apr 12, 2008 12:44:57 PM
> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> > loadBeanDefinitions
> > INFO: Loading XML bean definitions from class path resource [META-INF/
> > cxf/cxf.xml]
> > Apr 12, 2008 12:44:57 PM
> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> > loadBeanDefinitions
> > INFO: Loading XML bean definitions from class path resource [META-INF/
> > cxf/cxf-extension-xml.xml]
> > Apr 12, 2008 12:44:57 PM
> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> > loadBeanDefinitions
> > INFO: Loading XML bean definitions from class path resource [META-INF/
> > cxf/cxf-extension-http.xml]
> > Apr 12, 2008 12:44:57 PM
> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> > loadBeanDefinitions
> > INFO: Loading XML bean definitions from class path resource [META-INF/
> > cxf/cxf-extension-soap.xml]
> > Apr 12, 2008 12:44:57 PM
> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> > loadBeanDefinitions
> > INFO: Loading XML bean definitions from class path resource [META-INF/
> > cxf/cxf-extension-jaxws.xml]
> > Apr 12, 2008 12:44:57 PM
> > org.springframework.context.support.AbstractApplicationContext
> > obtainFreshBeanFactory
> > INFO: Bean factory for application context
> > [org.apache.cxf.bus.spring.BusApplicationContext@a084f8]:
> > org
> > .springframework.beans.factory.support.DefaultListableBeanFactory@1eef2c
> > Apr 12, 2008 12:44:58 PM
> > org.springframework.context.support.AbstractApplicationContext
> > $BeanPostProcessorChecker postProcessAfterInitialization
> > INFO: Bean 'org.apache.cxf.bus.spring.Jsr250BeanPostProcessor' is not
> > eligible for getting processed by all BeanPostProcessors (for example:
> > not eligible for auto-proxying)
> > Apr 12, 2008 12:44:58 PM
> > org.springframework.context.support.AbstractApplicationContext
> > $BeanPostProcessorChecker postProcessAfterInitialization
> > INFO: Bean 'org.apache.cxf.bus.spring.BusExtensionPostProcessor' is
> > not eligible for getting processed by all BeanPostProcessors (for
> > example: not eligible for auto-proxying)
> > Apr 12, 2008 12:44:58 PM
> > org.springframework.beans.factory.support.DefaultListableBeanFactory
> > preInstantiateSingletons
> > INFO: Pre-instantiating singletons in
> > org
> > .springframework
> > .beans.factory.support.DefaultListableBeanFactory@1eef2c: defining
> > beans
> > [cxf
> > ,org
> > .apache
> > .cxf
> > .bus
> > .spring
> > .Jsr250BeanPostProcessor
> > ,org
> > .apache
> > .cxf
> > .bus
> > .spring
> > .BusExtensionPostProcessor
> > ,org
> > .apache
> > .cxf
> > .resource
> > .ResourceManager
> > ,org
> > .apache
> > .cxf
> > .configuration
> > .Configurer
> > ,org
> > .apache
> > .cxf
> > .binding
> > .BindingFactoryManager
> > ,org
> > .apache
> > .cxf
> > .transport
> > .DestinationFactoryManager
> > ,org
> > .apache
> > .cxf
> > .transport
> > .ConduitInitiatorManager
> > ,org
> > .apache
> > .cxf
> > .wsdl
> > .WSDLManager
> > ,org
> > .apache
> > .cxf
> > .phase
> > .PhaseManager
> > ,org
> > .apache
> > .cxf
> > .workqueue
> > .WorkQueueManager
> > ,org
> > .apache
> > .cxf
> > .buslifecycle
> > .BusLifeCycleManager
> > ,org
> > .apache
> > .cxf
> > .endpoint
> > .ServerRegistry
> > ,org
> > .apache
> > .cxf
> > .endpoint
> > .ServerLifeCycleManager
> > ,org
> > .apache
> > .cxf
> > .endpoint
> > .ClientLifeCycleManager
> > ,org
> > .apache
> > .cxf
> > .transports
> > .http
> > .QueryHandlerRegistry
> > ,org
> > .apache
> > .cxf
> > .endpoint
> > .EndpointResolverRegistry
> > ,org
> > .apache
> > .cxf
> > .headers
> > .HeaderManager
> > ,org
> > .apache
> > .cxf
> > .catalog
> > .OASISCatalogManager
> > ,org
> > .apache
> > .cxf
> > .endpoint
> > .ServiceContractResolverRegistry
> > ,org
> > .apache
> > .cxf
> > .binding
> > .xml
> > .XMLBindingFactory
> > ,org
> > .apache
> > .cxf
> > .transport
> > .http
> > .policy
> > .HTTPClientAssertionBuilder
> > ,org
> > .apache
> > .cxf
> > .transport
> > .http
> > .policy
> > .HTTPServerAssertionBuilder
> > ,org
> > .apache
> > .cxf
> > .transport
> > .http
> > .ClientOnlyHTTPTransportFactory
> > ,org
> > .apache
> > .cxf
> > .binding
> > .soap
> > .SoapBindingFactory
> > ,org
> > .apache
> > .cxf
> > .binding
> > .soap
> > .SoapTransportFactory
> > ,org
> > .apache
> > .cxf
> > .binding
> > .soap
> > .customEditorConfigurer
> > ,org
> > .apache
> > .cxf
> > .jaxws
> > .context
> > .WebServiceContextResourceResolver
> > ,org.apache.cxf.jaxws.context.WebServiceContextImpl]; root of factory
> > hierarchy
> > Apr 12, 2008 12:44:58 PM
> > org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> > buildServiceFromWSDL
> > INFO: Creating Service {http://webservices.daelab.net/
> > temperature}TemperatureConversions from WSDL: file:/Users/timperrett/
> > Documents/workspace/MyWeatherDemo/src/main/wsdl/temperature.wsdl
> >
> >
> > On 12 Apr 2008, at 03:50, Glen Mazza wrote:
> > > Perhaps my client example may help you:
> > > http://www.jroller.com/gmazza/date/20070929
> > >
> > > Glen
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message