You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Hussain, Syed" <Sy...@tfn.com> on 2002/08/29 15:29:52 UTC
Error opening socket , targetException=java.lang.IllegalArgumentE
xception
Hi everyone ,
I m trying to connect to a webservice using https:// , i jsse installed .
I m passing
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol and
-Djavax.net.debug=ssl to debug from args of my webserver. I get Error
opening socket and IllegalArgument exception. I have attached the debug
trace please let me know what i m missing.
I m running a Java client to connect to the same webservice from the same
client m/c it works fine .
Thanks
Syed
<?xml version='1.0' encoding='utf-8'?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><GetUserPr
oductEnt xmlns="urn:get-user-product-ent"><GuardianRequest username="crm"
password="crm" interfaceCode="CRM"><user userName="sop01"
password="mmmx"><Delivery
deliveryCode="AEN"/></user></GuardianRequest></GetUserProductEnt></soap:Body
></soap:Envelope>
keyStore is :
keyStore type is : jks
init keystore
init keymanager of type SunX509
trustStore is: /usr/jdk1.3.1_01/jre/lib/security/cacerts
trustStore type is : jks
init truststore
adding as trusted cert: [
[
Version: V3
Subject: EmailAddress=personal-freemail@thawte.com, CN=Thawte Personal
Freemail CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape
Town, ST=Western Cape, C=ZA
Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@228362
Validity: [From: Sun Dec 31 19:00:00 EST 1995,
To: Thu Dec 31 18:59:59 EST 2020]
Issuer: EmailAddress=personal-freemail@thawte.com, CN=Thawte Personal
Freemail CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape
Town, ST=Western Cape, C=ZA
SerialNumber: [ 0 ]
Certificate Extensions: 1
[1]: ObjectId: 2.5.29.19 Criticality=true
BasicConstraints:[
CA:true
PathLen:2147483647
]
-- a lot of Algorithm trace and the last exception line is ----
trigger seeding of SecureRandom
done seeding SecureRandom
Exception in webservice part:[SOAPException: faultCode=SOAP-ENV:Client;
msg=Error opening socket: null;
targetException=java.lang.IllegalArgumentException: Error opening socket:
null]
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
Re: Error opening socket ,
targetException=java.lang.IllegalArgumentException
Posted by Scott Nichol <sn...@scottnichol.com>.
I am not quite sure I understand what is an is not working. Do you have a
standalone Java client that uses Apache SOAP to connect to the web service
using https? What exactly is failing?
Scott Nichol
----- Original Message -----
From: "Hussain, Syed" <Sy...@tfn.com>
To: <so...@xml.apache.org>
Sent: Thursday, August 29, 2002 9:29 AM
Subject: Error opening socket ,
targetException=java.lang.IllegalArgumentException
Hi everyone ,
I m trying to connect to a webservice using https:// , i jsse installed .
I m passing
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol and
-Djavax.net.debug=ssl to debug from args of my webserver. I get Error
opening socket and IllegalArgument exception. I have attached the debug
trace please let me know what i m missing.
I m running a Java client to connect to the same webservice from the same
client m/c it works fine .
Thanks
Syed
<?xml version='1.0' encoding='utf-8'?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><GetUserPr
oductEnt xmlns="urn:get-user-product-ent"><GuardianRequest username="crm"
password="crm" interfaceCode="CRM"><user userName="sop01"
password="mmmx"><Delivery
deliveryCode="AEN"/></user></GuardianRequest></GetUserProductEnt></soap:Body
></soap:Envelope>
keyStore is :
keyStore type is : jks
init keystore
init keymanager of type SunX509
trustStore is: /usr/jdk1.3.1_01/jre/lib/security/cacerts
trustStore type is : jks
init truststore
adding as trusted cert: [
[
Version: V3
Subject: EmailAddress=personal-freemail@thawte.com, CN=Thawte Personal
Freemail CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape
Town, ST=Western Cape, C=ZA
Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@228362
Validity: [From: Sun Dec 31 19:00:00 EST 1995,
To: Thu Dec 31 18:59:59 EST 2020]
Issuer: EmailAddress=personal-freemail@thawte.com, CN=Thawte Personal
Freemail CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape
Town, ST=Western Cape, C=ZA
SerialNumber: [ 0 ]
Certificate Extensions: 1
[1]: ObjectId: 2.5.29.19 Criticality=true
BasicConstraints:[
CA:true
PathLen:2147483647
]
-- a lot of Algorithm trace and the last exception line is ----
trigger seeding of SecureRandom
done seeding SecureRandom
Exception in webservice part:[SOAPException: faultCode=SOAP-ENV:Client;
msg=Error opening socket: null;
targetException=java.lang.IllegalArgumentException: Error opening socket:
null]
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
Re: Error opening socket ,
targetException=java.lang.IllegalArgumentException
Posted by Scott Nichol <sn...@scottnichol.com>.
I am not quite sure I understand what is an is not working. Do you have a
standalone Java client that uses Apache SOAP to connect to the web service
using https? What exactly is failing?
Scott Nichol
----- Original Message -----
From: "Hussain, Syed" <Sy...@tfn.com>
To: <so...@xml.apache.org>
Sent: Thursday, August 29, 2002 9:29 AM
Subject: Error opening socket ,
targetException=java.lang.IllegalArgumentException
Hi everyone ,
I m trying to connect to a webservice using https:// , i jsse installed .
I m passing
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol and
-Djavax.net.debug=ssl to debug from args of my webserver. I get Error
opening socket and IllegalArgument exception. I have attached the debug
trace please let me know what i m missing.
I m running a Java client to connect to the same webservice from the same
client m/c it works fine .
Thanks
Syed
<?xml version='1.0' encoding='utf-8'?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><GetUserPr
oductEnt xmlns="urn:get-user-product-ent"><GuardianRequest username="crm"
password="crm" interfaceCode="CRM"><user userName="sop01"
password="mmmx"><Delivery
deliveryCode="AEN"/></user></GuardianRequest></GetUserProductEnt></soap:Body
></soap:Envelope>
keyStore is :
keyStore type is : jks
init keystore
init keymanager of type SunX509
trustStore is: /usr/jdk1.3.1_01/jre/lib/security/cacerts
trustStore type is : jks
init truststore
adding as trusted cert: [
[
Version: V3
Subject: EmailAddress=personal-freemail@thawte.com, CN=Thawte Personal
Freemail CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape
Town, ST=Western Cape, C=ZA
Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@228362
Validity: [From: Sun Dec 31 19:00:00 EST 1995,
To: Thu Dec 31 18:59:59 EST 2020]
Issuer: EmailAddress=personal-freemail@thawte.com, CN=Thawte Personal
Freemail CA, OU=Certification Services Division, O=Thawte Consulting, L=Cape
Town, ST=Western Cape, C=ZA
SerialNumber: [ 0 ]
Certificate Extensions: 1
[1]: ObjectId: 2.5.29.19 Criticality=true
BasicConstraints:[
CA:true
PathLen:2147483647
]
-- a lot of Algorithm trace and the last exception line is ----
trigger seeding of SecureRandom
done seeding SecureRandom
Exception in webservice part:[SOAPException: faultCode=SOAP-ENV:Client;
msg=Error opening socket: null;
targetException=java.lang.IllegalArgumentException: Error opening socket:
null]
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>