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 Teodoro Megliola <te...@csfs.com> on 2001/12/12 08:27:23 UTC

RE: BUG in SOAP?? SSL/SOAP: Error opening socket - only in 95/98. ..

Hi there,

I had exactly the same exception, and it turned out to be a certificate issue...

The client is running on WinNT workstation and the server on WinNT Server, so I'm not sure whether it is a Win95/98 issue...

Ted

-----Original Message-----
From: jelevy01@yahoo.com [mailto:jelevy01@yahoo.com]
Sent: Tuesday, December 11, 2001 9:01 PM
To: soap-user@xml.apache.org; jelevy01@yahoo.com
Subject: BUG in SOAP?? SSL/SOAP: Error opening socket - only in 95/98...


This came out of a stacktrace...

[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: null;
targe
tException=java.lang.IllegalArgumentException: Error opening socket: null]
        at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnec
tion.java:324)
        at org.apache.soap.rpc.Call.invoke(Call.java:205)
        at com.juiced.dhcpserver.CallCentral.SOAPCall(CallCentral.java:54)
        at
com.juiced.dhcpserver.CallCentral.getLeasetime(CallCentral.java:110)
        at
com.juiced.dhcpserver.IPSettings.getLeasetime(IPSettings.java:122)
        at com.juiced.dhcpserver.IPSettings.initialize(IPSettings.java:68)
        at com.juiced.dhcpserver.DHCPListener.run(DHCPServer.java:33)
java.lang.NullPointerException
        at
com.juiced.dhcpserver.CallCentral.getLeasetime(CallCentral.java:110)
        at
com.juiced.dhcpserver.IPSettings.getLeasetime(IPSettings.java:122)
        at com.juiced.dhcpserver.IPSettings.initialize(IPSettings.java:68)
        at com.juiced.dhcpserver.DHCPListener.run(DHCPServer.java:33)



i don't know.. if the code works in 2000, but not in 95/98 .. what the hell
is going on?

JL

-----Original Message-----
From: Jeremy Levy [mailto:jelevy01@yahoo.com]
Sent: Tuesday, December 11, 2001 11:24 AM
To: soap-user@xml.apache.org; soap-user@xml.apache.org
Subject: RE: SSL/SOAP: Error opening socket - only in 95/98...


I thought that as well, so I tried it on antoher machine which had a mostly
clean installation of 98.. same thing happened... I am think do I need to
upgrade the winsock or something?  I remember reading about that
somewheres..

JL

-----Original Message-----
From: Phillip Urrea [mailto:Phillip.Urrea@esbic.ie]
Sent: Tuesday, December 11, 2001 11:14 AM
To: 'soap-user@xml.apache.org '
Subject: RE: SSL/SOAP: Error opening socket - only in 95/98...


Hi,
It sounds like you have something already running on the port that SSL
uses or there is software such as a firewall, etc. blocking that port
number.

Phill

-----Original Message-----
From: Jeremy Levy
To: soap-user@xml.apache.org
Sent: 12/11/01 4:02 PM
Subject: SSL/SOAP: Error opening socket - only in 95/98...

HI, my set up is as follows:

Apache 1.3.22 with mod_ssl 2.61 OPENSSL 0.9.5
Tomcat 3.3
SOAP 2.2
JSSE 1.0.2

I have a SOAP client that works perfectly with and without SSL when
running
the client from Windows 2000 or XP.  However when I try to test the
client
from 95/98 with SSL I get the following error:

[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket:
null;
targetException=java.lang.IllegalArgumentException: Error opening
socket:null]

I don't know if the problem is with SSL, when I run my client with the
following option -Djavax.net.debug=SSL , I don't get any additional
information... But none the less it works if I don't use SSL...

Thanks

Jeremy



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Re: BUG in SOAP?? SSL/SOAP: Error opening socket - only in 95/98. ..

Posted by Pae Choi <pa...@earthlink.net>.
The SOAP does not support the HTTP GET, you, however, should be
able to test if your HTTPS is working correctly by using your
browser.

[1] Try https://<hostname>/soap/servlet/messagerouter.

If it works, you should get something like:

SOAP RPC Router
Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me.

After you have verified the HTTPS works, try the following from the
"messaging"
sample as:

[2] java -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
\
samples.messaging.SendMessage \
https://www.paechoi.org/soap/servlet/messagerouter <xml file, e.g.,
msg1.xml>

FYI, I've been running the SOPA over SSL for quite some time on Win32
platforms.
So do not give up. It's just a few steps away to get there.

Hope this helps,


Pae



> Hi there,
>
> I had exactly the same exception, and it turned out to be a certificate
issue...
>
> The client is running on WinNT workstation and the server on WinNT Server,
so I'm not sure whether it is a Win95/98 issue...
>
> Ted
>
> -----Original Message-----
> From: jelevy01@yahoo.com [mailto:jelevy01@yahoo.com]
> Sent: Tuesday, December 11, 2001 9:01 PM
> To: soap-user@xml.apache.org; jelevy01@yahoo.com
> Subject: BUG in SOAP?? SSL/SOAP: Error opening socket - only in 95/98...
>
>
> This came out of a stacktrace...
>
> [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: null;
> targe
> tException=java.lang.IllegalArgumentException: Error opening socket: null]
>         at
> org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnec
> tion.java:324)
>         at org.apache.soap.rpc.Call.invoke(Call.java:205)
>         at com.juiced.dhcpserver.CallCentral.SOAPCall(CallCentral.java:54)
>         at
> com.juiced.dhcpserver.CallCentral.getLeasetime(CallCentral.java:110)
>         at
> com.juiced.dhcpserver.IPSettings.getLeasetime(IPSettings.java:122)
>         at com.juiced.dhcpserver.IPSettings.initialize(IPSettings.java:68)
>         at com.juiced.dhcpserver.DHCPListener.run(DHCPServer.java:33)
> java.lang.NullPointerException
>         at
> com.juiced.dhcpserver.CallCentral.getLeasetime(CallCentral.java:110)
>         at
> com.juiced.dhcpserver.IPSettings.getLeasetime(IPSettings.java:122)
>         at com.juiced.dhcpserver.IPSettings.initialize(IPSettings.java:68)
>         at com.juiced.dhcpserver.DHCPListener.run(DHCPServer.java:33)
>
>
>
> i don't know.. if the code works in 2000, but not in 95/98 .. what the
hell
> is going on?
>
> JL
>
> -----Original Message-----
> From: Jeremy Levy [mailto:jelevy01@yahoo.com]
> Sent: Tuesday, December 11, 2001 11:24 AM
> To: soap-user@xml.apache.org; soap-user@xml.apache.org
> Subject: RE: SSL/SOAP: Error opening socket - only in 95/98...
>
>
> I thought that as well, so I tried it on antoher machine which had a
mostly
> clean installation of 98.. same thing happened... I am think do I need to
> upgrade the winsock or something?  I remember reading about that
> somewheres..
>
> JL
>
> -----Original Message-----
> From: Phillip Urrea [mailto:Phillip.Urrea@esbic.ie]
> Sent: Tuesday, December 11, 2001 11:14 AM
> To: 'soap-user@xml.apache.org '
> Subject: RE: SSL/SOAP: Error opening socket - only in 95/98...
>
>
> Hi,
> It sounds like you have something already running on the port that SSL
> uses or there is software such as a firewall, etc. blocking that port
> number.
>
> Phill
>
> -----Original Message-----
> From: Jeremy Levy
> To: soap-user@xml.apache.org
> Sent: 12/11/01 4:02 PM
> Subject: SSL/SOAP: Error opening socket - only in 95/98...
>
> HI, my set up is as follows:
>
> Apache 1.3.22 with mod_ssl 2.61 OPENSSL 0.9.5
> Tomcat 3.3
> SOAP 2.2
> JSSE 1.0.2
>
> I have a SOAP client that works perfectly with and without SSL when
> running
> the client from Windows 2000 or XP.  However when I try to test the
> client
> from 95/98 with SSL I get the following error:
>
> [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket:
> null;
> targetException=java.lang.IllegalArgumentException: Error opening
> socket:null]
>
> I don't know if the problem is with SSL, when I run my client with the
> following option -Djavax.net.debug=SSL , I don't get any additional
> information... But none the less it works if I don't use SSL...
>
> Thanks
>
> Jeremy
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com


Re: BUG in SOAP?? SSL/SOAP: Error opening socket - only in 95/98. ..

Posted by Pae Choi <pa...@earthlink.net>.
The SOAP does not support the HTTP GET, you, however, should be
able to test if your HTTPS is working correctly by using your
browser.

[1] Try https://<hostname>/soap/servlet/messagerouter.

If it works, you should get something like:

SOAP RPC Router
Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me.

After you have verified the HTTPS works, try the following from the
"messaging"
sample as:

[2] java -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
\
samples.messaging.SendMessage \
https://www.paechoi.org/soap/servlet/messagerouter <xml file, e.g.,
msg1.xml>

FYI, I've been running the SOPA over SSL for quite some time on Win32
platforms.
So do not give up. It's just a few steps away to get there.

Hope this helps,


Pae



> Hi there,
>
> I had exactly the same exception, and it turned out to be a certificate
issue...
>
> The client is running on WinNT workstation and the server on WinNT Server,
so I'm not sure whether it is a Win95/98 issue...
>
> Ted
>
> -----Original Message-----
> From: jelevy01@yahoo.com [mailto:jelevy01@yahoo.com]
> Sent: Tuesday, December 11, 2001 9:01 PM
> To: soap-user@xml.apache.org; jelevy01@yahoo.com
> Subject: BUG in SOAP?? SSL/SOAP: Error opening socket - only in 95/98...
>
>
> This came out of a stacktrace...
>
> [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: null;
> targe
> tException=java.lang.IllegalArgumentException: Error opening socket: null]
>         at
> org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnec
> tion.java:324)
>         at org.apache.soap.rpc.Call.invoke(Call.java:205)
>         at com.juiced.dhcpserver.CallCentral.SOAPCall(CallCentral.java:54)
>         at
> com.juiced.dhcpserver.CallCentral.getLeasetime(CallCentral.java:110)
>         at
> com.juiced.dhcpserver.IPSettings.getLeasetime(IPSettings.java:122)
>         at com.juiced.dhcpserver.IPSettings.initialize(IPSettings.java:68)
>         at com.juiced.dhcpserver.DHCPListener.run(DHCPServer.java:33)
> java.lang.NullPointerException
>         at
> com.juiced.dhcpserver.CallCentral.getLeasetime(CallCentral.java:110)
>         at
> com.juiced.dhcpserver.IPSettings.getLeasetime(IPSettings.java:122)
>         at com.juiced.dhcpserver.IPSettings.initialize(IPSettings.java:68)
>         at com.juiced.dhcpserver.DHCPListener.run(DHCPServer.java:33)
>
>
>
> i don't know.. if the code works in 2000, but not in 95/98 .. what the
hell
> is going on?
>
> JL
>
> -----Original Message-----
> From: Jeremy Levy [mailto:jelevy01@yahoo.com]
> Sent: Tuesday, December 11, 2001 11:24 AM
> To: soap-user@xml.apache.org; soap-user@xml.apache.org
> Subject: RE: SSL/SOAP: Error opening socket - only in 95/98...
>
>
> I thought that as well, so I tried it on antoher machine which had a
mostly
> clean installation of 98.. same thing happened... I am think do I need to
> upgrade the winsock or something?  I remember reading about that
> somewheres..
>
> JL
>
> -----Original Message-----
> From: Phillip Urrea [mailto:Phillip.Urrea@esbic.ie]
> Sent: Tuesday, December 11, 2001 11:14 AM
> To: 'soap-user@xml.apache.org '
> Subject: RE: SSL/SOAP: Error opening socket - only in 95/98...
>
>
> Hi,
> It sounds like you have something already running on the port that SSL
> uses or there is software such as a firewall, etc. blocking that port
> number.
>
> Phill
>
> -----Original Message-----
> From: Jeremy Levy
> To: soap-user@xml.apache.org
> Sent: 12/11/01 4:02 PM
> Subject: SSL/SOAP: Error opening socket - only in 95/98...
>
> HI, my set up is as follows:
>
> Apache 1.3.22 with mod_ssl 2.61 OPENSSL 0.9.5
> Tomcat 3.3
> SOAP 2.2
> JSSE 1.0.2
>
> I have a SOAP client that works perfectly with and without SSL when
> running
> the client from Windows 2000 or XP.  However when I try to test the
> client
> from 95/98 with SSL I get the following error:
>
> [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket:
> null;
> targetException=java.lang.IllegalArgumentException: Error opening
> socket:null]
>
> I don't know if the problem is with SSL, when I run my client with the
> following option -Djavax.net.debug=SSL , I don't get any additional
> information... But none the less it works if I don't use SSL...
>
> Thanks
>
> Jeremy
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com