You need to sign in to do that
Don't have an account?
Benny (HASE)
Proxy Issue in Sforce Data Loader (NTLM Authentication failure)
I am using the data loader to upload and download data to and from Salesforce.com. However, we get the error of "(407) Proxy Authentication Required".
For solutions, I have gone through the details in this forum, and find that we need to change the source to include "NTCredentials" in order to let the data loader support NTLM authentication. However, we find that that method "NTCredentials" is already included in the source.
Could anyone inform me how to solve it? Further, from Apache client documentation, the authentication does not support some kinds of ISA server. Is it correct? Kindly correct me if I made any mistakes.
Regards,
Benny
http.proxyHost
http.proxyPort
http.proxyUser
http.proxyPassword
The command line parameters are prefixed with a "-D" to tell java to create system properties. The command line would then be:
java -Dhttp.proxyHost [host] -Dhttp.proxyPort [80 or 8080 typically] -Dhttp.proxyUser [NT user] -Dhttp.proxyPassword [password, if required] classpath, etc
Correct, the new data loader is written on top of WSC which uses JDK’s HTTP URL connection. So to setup NTLM based auth, you can set the following system property:
http.auth.ntlm.domain
NTLM domain setting has to be set on command line as
-Dhttp.auth.ntlm.domain=<NTLM domain name>.
The other 4 proxy settings are all exposed in data loader settings dialog in the UI – proxy host, proxy port, proxy username, and proxy password. These settings can also be set in the Dataloader config:
java -jar AppExchangeDataLoader.jar -Dhttp.auth.ntlm.domain=XXXX -Dsalesforce.config.dir=”c:\documents and settings\<username>\Application Data\salesforce.com\AppExchange Data Loader 8.0\” com.salesforce.lexiloader.process.LexiLoaderRunner
Message Edited by AlexWSFDC on 01-18-2007 03:04 PM
Also, after you run your UI version of dataloader, look at the generated config.properties which should provide all the parameters you need to set. The parameters will be automatically read from config.properties from specified config dir if you run from command line (they provide default param values and are overwritten by values specified in process-conf.xml).
In your case it would be: