You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Hussain, Syed" <Sy...@tfn.com> on 2002/08/29 23:47:55 UTC

RE: Error opening socket , targetException=java.lang.IllegalArgum entException

Scott ,

I have a stand alone Java client which works fine (Using https to call the
webservice ). Also  I have a Servlet client running in Resin servlet engine
which did work this morning . The traces are generated while accessing a
webservice using https . However , i got this problem solved by adding few
configuration additions in resin.conf.

Thanks 
Syed 

-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Thursday, August 29, 2002 5:43 PM
To: soap-user@xml.apache.org
Subject: Re: Error opening socket ,
targetException=java.lang.IllegalArgumentException


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>.
Glad to hear you got it worked out.  Can you share the configuration
additions?  That could help out the next person trying to do the same thing.

Scott Nichol

----- Original Message -----
From: "Hussain, Syed" <Sy...@tfn.com>
To: <so...@xml.apache.org>
Sent: Thursday, August 29, 2002 5:47 PM
Subject: RE: Error opening socket ,
targetException=java.lang.IllegalArgumentException


Scott ,

I have a stand alone Java client which works fine (Using https to call the
webservice ). Also  I have a Servlet client running in Resin servlet engine
which did work this morning . The traces are generated while accessing a
webservice using https . However , i got this problem solved by adding few
configuration additions in resin.conf.

Thanks
Syed

-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Thursday, August 29, 2002 5:43 PM
To: soap-user@xml.apache.org
Subject: Re: Error opening socket ,
targetException=java.lang.IllegalArgumentException


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>

--
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>.
Glad to hear you got it worked out.  Can you share the configuration
additions?  That could help out the next person trying to do the same thing.

Scott Nichol

----- Original Message -----
From: "Hussain, Syed" <Sy...@tfn.com>
To: <so...@xml.apache.org>
Sent: Thursday, August 29, 2002 5:47 PM
Subject: RE: Error opening socket ,
targetException=java.lang.IllegalArgumentException


Scott ,

I have a stand alone Java client which works fine (Using https to call the
webservice ). Also  I have a Servlet client running in Resin servlet engine
which did work this morning . The traces are generated while accessing a
webservice using https . However , i got this problem solved by adding few
configuration additions in resin.conf.

Thanks
Syed

-----Original Message-----
From: Scott Nichol [mailto:snicholnews@scottnichol.com]
Sent: Thursday, August 29, 2002 5:43 PM
To: soap-user@xml.apache.org
Subject: Re: Error opening socket ,
targetException=java.lang.IllegalArgumentException


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>

--
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>