on ‎2005 May 23 1:20 PM
Hi guys
I'm connecting to an url through a proxy within a servlet. For this purpose I entered the following coding
System.setProperty("http.proxyHost", "proxyserver.com");
System.setPropery("http.proxyPort", "8080");
This works fine so far. However I would like to specify these settings on a administrative level. Thus I entered the following configuration parameters in the configtool->instance->server:
-Dhttp.setProxy=true
-Dhttp.proxyHost=proxyserver.com
-Dhttp.proxyPort=8080
-Dhttp.nonProxyHosts="localhost|*.company.com"
However they don't work .. allthough they're properly written into the instance.properties file after restart.
The test System.getProperties("http.proxyHost") just returns null.
Do you have an idea why this doesn't work?
Cheers
Stephan
Request clarification before answering.
Hi Stephan,
as you are posting your question in an EP forum I guess your servlet is running as an iView. If this is the case you can configure a HTTP-Proxy in the EP. This is pretty well documented under:
http://help.sap.com/saphelp_nw04/helpdata/en/33/8abf9e0ce011d7b84900047582c9f7/content.htm
Best Regards
Mirko
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.