• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
java client and ntlm proxy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

java client and ntlm proxy


  • Subject: java client and ntlm proxy
  • From: Pierre Gilquin <email@hidden>
  • Date: Mon, 07 Mar 2011 17:52:58 +0100

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.
So I try to use cntlm  http://cntlm.sourceforge.net/  before starting the java client :
 
>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  :
java -Dhttp.proxySet=true -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=3128 MyClass -applicationURL http://www.externaldomain.com/cgi-bin/WebObjects/MyAppli.woa 
 
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

  • Follow-Ups:
    • Re: java client and ntlm proxy
      • From: David Avendasora <email@hidden>
  • Prev by Date: Re: Dependent popup in D2W
  • Next by Date: Re: [OT] Heads up! Hudson bug :(
  • Previous by thread: Re: H2 and timezones
  • Next by thread: Re: java client and ntlm proxy
  • Index(es):
    • Date
    • Thread