Daniel,

Thanks for confirming nothing special was needed. That made me look a bit
harder - it was just a new install of Tomcat that I had not fully setup
(i.e. Put log4j in common/lib, etc.). I've done it dozens of times before,
but somehow forgot.

Thank you - Richard


> From: Daniel Kulp <[EMAIL PROTECTED]>
> Date: Fri, 24 Aug 2007 13:21:24 -0400
> To: <[email protected]>
> Cc: Richard Mixon <[EMAIL PROTECTED]>
> Subject: Re: Web application with cxf has lost commons-logging/log4j output
> 
> 
> Richard,
> 
> Honestly, I have no idea.     CXF doesn't use log4j for anything and we
> pretty much go out of our way in our dependencies and such to make sure
> we don't accidentally grab log4j.    I guess all I can suggest is to
> make sure the log4j jar is available. Maybe check the system properties
> or something to make sure nothing is grabbing a different
> log4j.properties file.
> 
> Dan
> 
> 
> 
> On Tuesday 21 August 2007, Richard Mixon wrote:
>> I have finally successfully integrated cxf into one of my web
>> applications. I have a service with several useful operations working
>> and returning complex objects. It works well!
>> 
>> But I have also lost the ability to log output using commons-logging
>> and log4j. We have been using a log4j.properties file in the
>> WEB-INF/classes directory.
>> 
>> But it looks like cxf is interfering with this output. I do have
>> WEB-INF/cxf-servlet.xml with the following contents:
>> 
>> <?xml version="1.0" encoding="UTF-8"?>
>> 
>> <beans
>> xmlns="http://www.springframework.org/schema/beans";
>> xmlns:xsi="http://www.w3
>> .org/2001/XMLSchema-instance"
>> xmlns:jaxws="http://cxf.apache.org/jaxws";
>> xmln
>> s:soap="http://cxf.apache.org/bindings/soap";
>> xsi:schemaLocation="
>> http://www
>> .springframework.org/schema/beans
>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>> http://cxf.
>> apache.org/bindings/soap
>> http://cxf.apache.org/schemas/configuration/soap.xsd
>> http://cxf.apache.org/j
>> axws http://cxf.apache.org/schemas/jaxws.xsd";>
>> 
>> <jaxws:endpoint
>>     id="MemberService_xml_bare"
>> 
>> implementor="com.firedrum.webservice.service.MemberServiceImpl"
>> 
>> wsdlLocation="WEB-INF/wsdl/MemberService.wsdl"
>>     address="/MemberService"
>> 
>> <jaxws:features>
>>   <bean class="org.apache.cxf.feature.LoggingFeature"/>
>>    </jaxws:features>
>> </jaxws:endpoint>
>> 
>> </beans>
>> 
>> 
>> Any ideas on how to get my log4j logging back.
>> 
>> Thanks! - Richard
> 
> 
> 
> -- 
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727    C: 508-380-7194
> [EMAIL PROTECTED]
> http://www.dankulp.com/blog
> 


Reply via email to