Hi Ning,
You can try the smx 3.3.1 kit [1](which is under vote and will be
released very soon), which I believe smx-cxf component already use the
cxf version including this fix
[1]https://repository.apache.org/content/repositories/servicemix-staging-016/org/apache/servicemix/apache-servicemix/3.3.1/
Freeman
ning_sunrise wrote:
Dan:
I am lock in servicemix2008.01.install.zip, I saw it use cxf 2.1.2 .
What is the change that was made? I even did not see the
SSLSocketFactoryWrapper.class in jar. Can i download the fix for 2.1.2 from
some where?
Thanks
Ning
John Hite wrote:
Hi,
I'm just wondering if anyone has done any testing of CXF with Java 6
Update
10? When I try running my CXF client with Java 1.6.0_10 I get an
exception:
Caused by: javax.xml.stream.XMLStreamException: java.net.SocketException:
Unconnected sockets not implemented
at
com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeStartElement(Un
known Source)
at
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.writeSoapEnvelope
Start(SoapOutInterceptor.java:95)
... 14 more
Caused by: java.net.SocketException: Unconnected sockets not implemented
at javax.net.SocketFactory.createSocket(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.createSocket(Unknown
Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown
Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClie
nt(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknow
n Source)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown
Source)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown
Source)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersT
rustCaching(HTTPConduit.java:1807)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(H
TTPConduit.java:1765)
at
org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStr
eam.java:63)
at
com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.write(Unknown
Source)
at
com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.openStartTag(Unknown
Source)
... 16 more
As you can see from the exception, the web service is running over SSL.
This isn't an urgent issue, I'm just concerned that if I use CXF in my
project, we will have issues when Update 10 rolls out.
Thank you,
John
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com