Did you verify the (SSL) ports are 
available?
Did you verify the KeyStore can obtain the Trusted Certificates. ?
Did you verify KeyStore is of type "JKS". e.g. Filename is "clientAppKeys.jks"?
Did you verify password is "Password". ?
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzatz/51/sec/secjssecltex.htm

Martin Gainty 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


Date: Tue, 10 Jun 2008 18:44:46 +0700
From: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: [Axis2] Error : socket is not connected

Dear Samisa
 
Thanks for your answer.
 
For your question, I can connect to the same endpoint with https by my PC :(
 
X
 
On 6/10/08, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote:
It is a socket problem. Can you connect to the same endpoint using other means 
with https?

Samisa... 


Chatupong Charoenkitpaiboon wrote:

Hi,
 I have an issue pertaining to the usage of https in Axis2.
I used my java class to call .net web service of my service provider, it works 
properly on my PC.

However, it doesn't work when I run in AIX server which using IBM JVM instead 
of Sun JVM that I use in my PC.

(Both JVM are the same version (1.4.1) )

PS,
- I connected this application using https protocol.

- I have already checked port 443 using seperate application, it works properly.


[INFO] Unable to sendViaPost to 
url[https://xxxxx.yyyy.com/ExternalService/SayHelloNService.svc]

java.net.SocketException: Socket is not connected
       at java.net.Socket.getInputStream(Socket.java:707)
       at com.ibm.jsse.br.getInputStream(Unknown Source)
       at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:745)

       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)
       at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)

       at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:364)
       at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)

       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 
org.tempuri.SayHelloNServiceStub.SayHello(SayHelloNServiceStub.java:208)
       at xxx.yyy.zzz.SayHelloTest.main(SayHelloTest.java:28)

org.apache.axis2.AxisFault: Socket is not connected
       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:364)
       at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)

       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 
org.tempuri.SayHelloNServiceStub.SayHello(SayHelloNServiceStub.java:208)
       at xxx.yyy.zzz.SayHelloTest.main(SayHelloTest.java:28)

Caused by: java.net.SocketException: Socket is not connected
       at java.net.Socket.getInputStream(Socket.java:707)
       at com.ibm.jsse.br.getInputStream(Unknown Source)
       at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:745)

       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


Thanks in advance.



-- 
Samisa Abeysinghe

http://people.apache.org/~samisa/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]




_________________________________________________________________
Enjoy 5 GB of free, password-protected online storage.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_062008

Reply via email to