Freeman and Dan:
After I change the classpath in servicemix xbean.xml and use new jar
file, the socket problem fixed.
But I get other error, "PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target", Is it caused by I did not
configuration keystore/truststore? We save the cert in database and deal it
with special trustmanager.... Can you point out what I can do?
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
>
>
>
--
View this message in context:
http://www.nabble.com/CXF-and-Java-6-Update-10-tp19463818p24079622.html
Sent from the cxf-user mailing list archive at Nabble.com.