I'm locked into 2.0.7 (sadly). Is there a diff for the change that was made? 


dkulp wrote:
> 
> On Thu June 4 2009 3:40:42 pm Stewart Wachs wrote:
>> Is there a patch for this fix available? I need to apply it to 2.0.7
> 
> It should be available in 2.0.9 and newer (we're up to 2.0.11) on the
> 2.0.x 
> line.
> 
> Dan
> 
> 
>>
>> dkulp wrote:
>> > I was able to reproduce this.  Fortunately, it's an easy fix (3 lines
>> > added to
>> > our SSLSocketFactoryWrapper class).
>> >
>> > Basically, older JDK's called the "createSocket" methods that take
>> > parameters
>> > and create connected sockets.  The newer JDK seems to call the
>> > createSocket()
>> > method (no params) and then connects it later.   However, we were not
>> > forwarding that call into the wrapped socketfactory.   Once I add that,
>> > our
>> > https tests pass.
>> >
>> > I'm going to run the full test suite and if OK, I'll get it committed
>> and
>> > merged down through so the next releases should be fine.
>> >
>> > Dan
>> >
>> > On Friday 12 September 2008 4:45:53 pm 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.writeStartElemen
>> >>t(U n known Source)
>> >>
>> >>             at
>> >>
>> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.writeSoapEnve
>> >>lop e 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.getNewHttp
>> >>Cli e nt(Unknown Source)
>> >>
>> >>             at
>> >> sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
>> Source)
>> >>
>> >>             at
>> >>
>> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Un
>> >>kno w n Source)
>> >>
>> >>             at
>> >> sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown
>> >> Source)
>> >>
>> >>             at
>> >>
>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknow
>> >>n Source)
>> >>
>> >>             at
>> >>
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHead
>> >>ers T rustCaching(HTTPConduit.java:1807)
>> >>
>> >>             at
>> >>
>> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWri
>> >>te( H TTPConduit.java:1765)
>> >>
>> >>             at
>> >>
>> org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutpu
>> >>tSt r eam.java:63)
>> >>
>> >>             at
>> >>
>> com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.write(Unknown
>> >> Source)
>> >>
>> >>             at
>> >>
>> com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.openStartTag(Unk
>> >>now n 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
>> >
>> > --
>> > Daniel Kulp
>> > [email protected]
>> > http://www.dankulp.com/blog
> 
> -- 
> Daniel Kulp
> [email protected]
> http://www.dankulp.com/blog
> 
> 

-- 
View this message in context: 
http://www.nabble.com/CXF-and-Java-6-Update-10-tp19463818p23876916.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to