OK, now it works!

I use Tomcat 3.3 and I have to use TOMCAT_OPTS!!

I have added an environment variable like:
TOMCAT_OPTS = -DproxySet=true -DproxyHost=proxy.swissptt.ch -DproxyPort=8080

and it works.

Thank you all of you
Sylvain

-----Message d'origine-----
De: Ilya A. Kriveshko [mailto:[EMAIL PROTECTED]]
Date: mercredi, 9. octobre 2002 14:41
À: [EMAIL PROTECTED]
Objet: Re: File generator problem (fetch from an URI)


[EMAIL PROTECTED] wrote:

>Should I modify the tomcat.bat?
>I would prefer to modify the startup.bat! But what is the command in this case?
>
>I have also tried to add a "CATALINA_OPTS" environment variable with the value 
>"-Dhttp.proxyHost=http://proxy.blabla.com -Dhttp.proxyPort=8080" but that doesn't 
>work. Maybe a proxy access problem?!?
>
>  
>

I missed the beginning of this post, but let me give it a try:

1) I don't believe you should specify the protocol when specifying the 
proxy host. The protocol is implied by the property that you are 
setting: http.proxyHost. So, try using -Dhttp.proxyHost=proxy.blabla.com 
(drop the 'http://' part).

2) If you are using Tomcat >4, use CATALINA_OPTS environment variable, 
if you are using Tomcat 3.x, use TOMCAT_OPTS. One of them should work 
for you.

Sorry if that was obvious.
--
Ilya


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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/faq/index.html>

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

Reply via email to