on 03-15-2010 10:46 AM
Hi,
I would like to use SAP Download Manager - DLManager.jar on my NB with Fedora12.
All is OK (without proxy), but I am behind the https proxy. In menu DLManager I found setting only for http proxy:
(see Menu > Help > About SAP Download manager > System information)
http.proxyHost <something>
http.proxyPort <3128>
https.proxyHost
https.proxyPort
How can I set https proxy in JAVA SAP download manager?
Thanks
AT
DLManager.jar log:
Opening connection to : http://service.sap.com
getUserProxy: true
getEffectiveProtocol: http
detected: http / https w/o proxy request
SMPResponse::sendRequestNormal
Opening connection to 'http://service.sap.com:80/~form/download_basket?_MODE=BASKET_CONTENT&J_VERSION=1.6.0_17&J_VM_VERSION=14.0-b16&J_VENDOR=SunMicrosystemsInc.&J_VM_NAME=OpenJDKServerVM&OS_NAME=Linux&OS_ARCH=i386&OS_VERSION=2.6.32.9-70.fc12.i686.PAE&'
Sending request to SAP Service Marketplace Server (no tunneling)
A response was received from the SAP Service Marketplace Server.
Redirecting to 'https://WEBSMP206.SAP-AG.DE/~form/download_basket?_MODE=BASKET_CONTENT&J_VERSION=1.6.0_17&J_VM_VERSION=14.0-b16&J_VENDOR=SunMicrosystemsInc.&J_VM_NAME=OpenJDKServerVM&OS_NAME=Linux&OS_ARCH=i386&OS_VERSION=2.6.32.9-70.fc12.i686.PAE&'...
getUserProxy: true
getEffectiveProtocol: https
detected: https through proxy request (automatically using SSL tunneling)
Creating an instance of the SSLTunnelSocketFactory ...
Creating SSL socket factory ...
Opening URL connection to https resource: https://WEBSMP206.SAP-AG.DE/~form/download_basket?_MODE=BASKET_CONTENT&J_VERSION=1.6.0_17&J_VM_VERSI...MicrosystemsInc.&J_VM_NAME=OpenJDKServerVM&OS_NAME=Linux&OS_ARCH=i386&OS_VERSION=2.6.32.9-70.fc12.i686.PAE& ...
Setting SSL factory ...
HttpsUrlConnection class: sun.net.www.protocol.https.HttpsURLConnectionImpl
SSL Support library is an instance of javax.net.ssl.HttpsURLConnection
Standard JSSE: Settings SSL Socket Factory
Sending request to SAP Service Marketplace Server (Https tunneling mode)
Sending request to SAP Service Marketplace Server (Https tunneling mode)
Sending request to SAP Service Marketplace Server (Https tunneling mode)
Sending request to SAP Service Marketplace Server (Https tunneling mode)
Sending request to SAP Service Marketplace Server (Https tunneling mode)
Hi,
If you read the documentation where you downloaded the Download Manager from it says:
At the moment the Download Manager does not support proxy authentication (userid/password) and tunneling with JRE version 1.4.2_13 and up. Therefore, please install JRE 1.4.2_12 if you are using per-user proxy authentication to connect.
For higher versions of Java ie 1.6 I use a utility called CNTLM(for Microsoft's NTLM authentication) which does the authentication in the background on my Linux system and I just configure the proxy setting in the Download Manger for localhost without authentication. Otherwise use Java 1.4.2_12.
Nelis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.