cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgeny Mironenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-6975) Logging interceptor doesn't log request payload in case of Connection refused
Date Fri, 22 Jul 2016 16:51:20 GMT

     [ https://issues.apache.org/jira/browse/CXF-6975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Evgeny Mironenko updated CXF-6975:
----------------------------------
    Description: 
When you send a request to some nonexistent endpoint you get {{java.net.ConnectException:
Connection refused: connect}}, but request was not logged since {{LoggingOutInterceptor#formatLoggingMessage}}
has not been invoked.
Stacktrace:

{code}
org.apache.cxf.interceptor.Fault: Connection refused: connect
        at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:109)
        at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
{code}

  was:When you send a request to some nonexistent endpoint you get {{java.net.ConnectException:
Connection refused: connect}}, but request was not logged since {{LoggingOutInterceptor#formatLoggingMessage}}
has not been invoked.


> Logging interceptor doesn't log request payload in case of Connection refused
> -----------------------------------------------------------------------------
>
>                 Key: CXF-6975
>                 URL: https://issues.apache.org/jira/browse/CXF-6975
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.1.3
>            Reporter: Evgeny Mironenko
>
> When you send a request to some nonexistent endpoint you get {{java.net.ConnectException:
Connection refused: connect}}, but request was not logged since {{LoggingOutInterceptor#formatLoggingMessage}}
has not been invoked.
> Stacktrace:
> {code}
> org.apache.cxf.interceptor.Fault: Connection refused: connect
>         at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:109)
>         at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
>         at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
>         at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
>         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message