Hello all,

I keep getting unconnected sockets not implemented for ssh. I'm able to
browse to https:// to see the wsdl. It's used to work before in
jdk.1.4.2_15.  But I just refreshed my machine and set my eclipse to run at
jdk.1.4.2.  Does that hurt?

System.out.println("Set up ssl conneciton");
Properties props = System.getProperties();
props.setProperty("javax.net.ssl.trustStore", "c:\\ssl\\mycert.p12");
props.setProperty("javax.net.ssl.trustStorePassword", "changeit");
props.setProperty("javax.net.ssl.trustStoreType", "PKCS12");
System.setProperties(props);
BookStoreStub stub = new
BookStoreStub("https://localhost:8443/axis2/services/Bookstore";);               

stub.about(); // error happens here
org.apache.axis2.AxisFault: Unconnected sockets not implemented
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
        at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
        at
com.hgst.agile.ws.server.AgileServicesStub.initProp(AgileServicesStub.java:2951)
        at com.hgst.agile.ws.client.AgileClient.main(AgileClient.java:76)
Caused by: java.net.SocketException: Unconnected sockets not implemented
        at javax.net.SocketFactory.createSocket(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
        at java.lang.reflect.Method.invoke(Method.java:391)
        at
org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:116)
        at
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:130)
        at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
        at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
        at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
        at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
        at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
        at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189)
        ... 9 more
-- 
View this message in context: 
http://old.nabble.com/org.apache.axis2.AxisFault%3A-Unconnected-sockets-not-implemented-tp31242985p31242985.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to