This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Web Services and the fly likes CXF Logging inbound\outbound messages problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Reply locked New topic

CXF Logging inbound\outbound messages problem.

Serkan Akti

Joined: Aug 14, 2012
Posts: 2

I've developed WSDL first web-services with CXF (Web Service Server) . My services works fine but when i configure it for inbound/outbound message logging i am getting error at the time of requesting.

For inbound/outbound logging i've added the lines at below in cxf-servlet.xml;


With this configuration i am getting exception when i call the service from soap client, Here is the Exception;

WARNING: Interceptor for has thrown exception, unwinding now
at org.apache.cxf.interceptor.AbstractLoggingInterceptor.getMessageLogger(
at org.apache.cxf.interceptor.LoggingInInterceptor.handleMessage(
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
at org.apache.cxf.transport.MultipleEndpointObserver.onMessage(
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(
at org.apache.cxf.transport.servlet.ServletController.invoke(
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3902

Please don't duplicate posts in the forums. You may continue discussion in your other thread.

[How to ask questions] [Twitter]
I agree. Here's the link:
subject: CXF Logging inbound\outbound messages problem.
It's not a secret anymore!