I can't give you more answer just from the stack trace that you gave.
Please provide a simple test case for this issue.

BTW, you can take a look at this page[1] for tracking the CXF endpoint in out message.

[1]http://cxf.apache.org/docs/debugging-and-logging.html

On 11/8/10 11:08 AM, Jinglong Wang wrote:
*Hi,*
*I use cxf-camel with X509 security, but cxf-camel cant outbound.*
*the exception is:*
Caused by: java.net.SocketTimeoutException: Read timed out
  at java.net.SocketInputStream.socketRead0(Native Method)
  at java.net.SocketInputStream.read(SocketInputStream.java:129)
  at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
  at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
  at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
  at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
  at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
  at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)
  at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
  at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1072)
  at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
  at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2197)
  at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:2171)
  at
org.apache.cxf.workqueue.AutomaticWorkQueueImpl$2.run(AutomaticWorkQueueImpl.java:253)
  at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  ... 1 more
  *single with cxf is ok.*
**
*outbound server is started..*
**
*thanks*



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Reply via email to