You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Yoann Guerro (JIRA)" <ji...@apache.org> on 2011/06/01 09:07:47 UTC
[jira] [Closed] (CXF-3554) Setting log4j level to org.apache.cxf
makes the message failed to sent
[ https://issues.apache.org/jira/browse/CXF-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yoann Guerro closed CXF-3554.
-----------------------------
As per above comment.
> Setting log4j level to org.apache.cxf makes the message failed to sent
> ----------------------------------------------------------------------
>
> Key: CXF-3554
> URL: https://issues.apache.org/jira/browse/CXF-3554
> Project: CXF
> Issue Type: Bug
> Components: JAXB Databinding
> Affects Versions: 2.4, 2.3.4
> Environment: JDK 1.6 Eclipse IDE
> log4j 1.2.16
> Reporter: Yoann Guerro
> Assignee: Christian Schneider
> Fix For: 2.4.1
>
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> When updating the logging level for the package org.apache.cxf the messages fails to be sent with the following exception:
> 17:40:43,548 (LogUtils.java:371) - Interceptor for {http://wsdl.example.com/Baseline_v1_v2}Baseline_Service#{http://wsdl.example.com/Baseline_v1}MyOperation has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: Could not send Message.
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
> at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:484)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:414)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:317)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:269)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
> at $Proxy26.myoperation(Unknown Source)
> at com.example.ws.client.MyClient.myoperation(MyClient.java:41)
> at com.example.ws.test.WebServiceTestCase.setUp(WebServiceTestCase.java:42)
> at com.example.ws.test.MyTest.setUp(MyTest.java:29)
> at junit.framework.TestCase.runBare(TestCase.java:128)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:120)
> at junit.framework.TestSuite.runTest(TestSuite.java:230)
> at junit.framework.TestSuite.run(TestSuite.java:225)
> at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
> at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> Caused by: java.io.IOException: IOException invoking https://test.webservices.example.com/si/Baseline_v1: Stream is closed
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1385)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1370)
> at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47)
> at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:188)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:614)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> ... 24 more
> Caused by: java.io.IOException: Stream is closed
> at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(HttpURLConnection.java:2518)
> at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:2507)
> at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:46)
> at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1342)
> ... 29 more
> Perhaps above line in logs may help:
> 17:40:42,923 (HTTPConduit.java:876) - Conduit '{http://wsdl.example.com/Baseline_v1_v2}Baseline_Port.http-conduit' has been (re)configured for plain http.
> 17:40:42,923 (HTTPConduit.java:358) - No Trust Decider configured for Conduit '{http://wsdl.example.com/Baseline_v1_v2}Baseline_Port.http-conduit'
> 17:40:42,923 (HTTPConduit.java:371) - No Auth Supplier configured for Conduit '{http://wsdl.example.com/Baseline_v1_v2}Baseline_Port.http-conduit'
> 17:40:42,923 (HTTPConduit.java:390) - Conduit '{http://wsdl.example.com/Baseline_v1_v2}Baseline_Port.http-conduit' has been configured for plain http.
> ...
> 17:40:43,329 (TrustDecisionUtil.java:106) - No Trust Decider for Conduit '{http://wsdl.example.com/Baseline_v1_v2}Baseline_Port.http-conduit'. An afirmative Trust Decision is assumed.
> 17:40:43,548 (HTTPConduit.java:1277) - Sending POST Message with Headers to https://test.example.amadeus.com/si/Baseline_v1 Conduit :{http://wsdl.example.com/Baseline_v1_v2}Baseline_Port.http-conduit
> Content-Type: null
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira