To be more precise, I have found the following information:
he socksProxyHost, socksProxyPort, http.proxyHost,
and http.proxyPort system properties define the proxy server used to
support SOCKS v4 and HTTP proxy
functionality:
http.proxyHost // standard HTTP proxy
http.proxyPort
socksProxyHost // for socks v4
socksProxyPort
This is documented in the HotJava documentation, but applies to the JDK
too. You can set system properties from the command line like this
java -DhttpProxyHost=utopia.poly.edu -DhttpProxyPort=9087 MyClass
Of course you have to change it to use your proxy host and port.
Tomcat can be configured to work with a proxy server by specifying the
following directives with the TOMCAT_OPTS system variable:
-Dhttp.proxyhost=
proxy address
-Dhttp.proxyport=
proxy port
NOTE: Directives must be separated by a space as in the following
example:
-Dhttp.proxyHost=myCo.com -Dhttp.proxyPort=8080
**** The problem is my corporate firewall needs a login / password ! How
can I specify it ?
Cyril Cambien wrote:
> How to run News samples behind a firewall ?
> Where should I set proxy info ?
> Thanks!
>
> Cyril
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>