Re: java client and ntlm proxy
Re: java client and ntlm proxy
- Subject: Re: java client and ntlm proxy
- From: Pierre Gilquin <email@hidden>
- Date: Tue, 08 Mar 2011 09:43:09 +0100
Hi David,
Starting the application with JWS or at command
line gives the same result.
I guess that the socket is open directly (port
80) without going thru the proxy and that's why I get a timeout
error.
I dont get your idea, what can you check in the
jnlp file ?
Thanks
Pierre
----- Original Message -----
Sent: Monday, March 07, 2011 8:26
PM
Subject: Re: java client and ntlm
proxy
Hi Pierre,
Are you launching the application from a link that downloads a .jnlp file
from the server? If so, look at it's contents to be sure it is using the ports
you think it is.
Dave
On Mar 7, 2011, at 11:52 AM, Pierre Gilquin wrote:
Hi all,
I am trying to use a java client inside a
entreprise network using an ntml proxy with authentification for accessing
the outside world.
Seems that java cannot pass that kind of
proxy. At least, I was not able to do it.
>cntlm.exe -c cntlm.ini -v cntlm: Proxy
listening on 127.0.0.1:3128 cntlm: Resolving proxy TheBorringProxy
... cntlm: Workstation name used: localhost cntlm: Using following
NTLM hashes: NTLMv2(1) NT(0) LM(0) cntlm: PID 980: Cntlm ready, staying
in the foreground
Then I start my java client
:
But not better, the java client cannot
create the socket :
com.webobjects.foundation.NSForwardException
for java.io.IOException: Timed out trying to create Socket at
com.webobjects.foundation.NSSocketUtilities._getSocketWithTimeout(NSSocketUtilities.java:145) at
com.webobjects.foundation.NSSocketUtilities.getSocketWithTimeout(NSSocketUtilities.java:100) at
com.webobjects.foundation.NSSocketUtilities.getSocketWithTimeout(NSSocketUtilities.java:58) at
com.webobjects.eodistribution.client.EOHTTPChannel.createSocket(EOHTTPChannel.java:401)
Am I missing something ? May be I am wrong
about the way i start my java client ?
Thanks for any idea.
Pierre
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden