Hi,Apparently (blaming JBOSS again) I had 3.2.0 version of woodstox in the
bootstrap. I fixed that and put 3.2.4 in the bootstrap and now I am getting,

org.apache.cxf.interceptor.Fault: Unconnected sockets not implemented
        at
org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.jav
a:95)
        at
org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242)
        at
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
        at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:178)
        at $Proxy138.retrieveRestrictedCountries(Unknown Source)
.....
Caused by: java.net.SocketException: Unconnected sockets not implemented
        at javax.net.SocketFactory.createSocket(SocketFactory.java:97)
        at
sun.net.www.protocol.https.HttpsClient.createSocket(HttpsClient.java:360)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:145)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
        at
sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:271)
        at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:328)
        at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnec
tion.java:172)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:778)
        at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDeleg
14:23:36,314, ERROR [STDERR] ateHttpsURLConnection.java:158)
        at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:881)
        at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1807
)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1765)
        at
org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:42)
        at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:96)
        at
com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:214)
        at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)

Again this works fine with JDK 1.6.0_07 and not the versions above that.
Anyone got any pointers, please?

2009/8/27 Kannan Ekanath <[email protected]>

> Hi,PS: I have posted this already in Woodstox mailing list, but not sure
> if this was a CXF compatibility issue (since this occurs only beyond
> 1.6.0_01)
>
> I am using cxf 2.1.1 and hence using wstx-asl version 3.2.4 and I still see
> the exception trace below. I googled a bit and found the following links,
>
> http://jira.codehaus.org/browse/WSTX-110
>  <http://jira.codehaus.org/browse/WSTX-110>
> http://jira.atlassian.com/browse/CWD-726
>
> <http://jira.atlassian.com/browse/CWD-726>but apparently both claim that
> this was fixed in 3.2.1 or 3.2.3 release. I still get this exception in my
> machine.
>
> As an added information, I get this error in JDK 1.6.0_10 (update 10) but
> do not get this error in JDK 1.6.0_07 (update 7). *In fact update 7 seems
> to be the only JDK version which works (which is why my production JVM
> cannot upgrade beyond update 7)*. Was this probably broken again after
> update 7?
>
> Can someone please shed more light on this?
>
> Exception:
> 11:51:09,767, ERROR [STDERR] Aug 27, 2009 11:51:09 AM
> org.apache.cxf.phase.PhaseInterceptorChain doIntercept
> INFO: Interceptor has thrown exception, unwinding now
> java.lang.IllegalStateException: Can't overwrite cause
>         at java.lang.Throwable.initCause(Throwable.java:320)
>         at com.ctc.wstx.compat.Jdk14Impl.setInitCause(Jdk14Impl.java:70)
>         at com.ctc.wstx.exc.WstxException.<init>(WstxException.java:46)
>         at com.ctc.wstx.exc.WstxIOException.<init>(WstxIOException.java:16)
>         at
> com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:313)
>         at
> org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.jav
> a:93)
>         at
> org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:242)
>         at
> org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
>         at
> org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:178)
>         at $Proxy138.retrieveRestrictedCountries(Unknown Source)
>
> This happens when I call the actual webservice on the proxy object
> --
> Regards,
> Kannan Ekanath
>



-- 
Regards,
Kannan Ekanath

Reply via email to