On Thu, Jul 10, 2003 at 01:42:02PM +0200, Reinhard P�tz wrote:
> Mustafa wrote:
> > 
> > Hi,
> >  
> > Can anybody tell me how to set proxies under cocoon? I want to use a
> > proxy-server but do not know how to set it.
>
> java -DproxySet=true -DproxyHost=PROXYSERVER -DproxyPort=PORT YourClass
> 
> for more details look at
> http://developerlife.com/lessons/jvmfirewalltunelling/default.htm
> 
If you are running cocoon from cocoon.bat or cocoon.sh this is done by
setting the JAVA_OPT variable.  Note also that I use http.proxyHost and
http.proxyPort.  I am not sure if the http is strictly necessary.

    eg JAVA_OPT=-Dhtpp.proxyHost=PROXYSERVER -Dhttp.proxyPort=PORT

Or if you are using tomcat to run coccon then the variable is called
JAVA_OPTS.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to