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

Reply via email to