> To connect to web services, web pages and so on, I need to use a proxy
> server. To make my application work, I need to adjust Tomcat so that
[quoted text clipped - 10 lines]
>
> Christine
It is not so much of adding proxy to tomcat, but setting up the jvm
running tomcat to recognize the proxy settings. If you tried printing
the values and nothing showed up, JAVA_OPTS did not get picked up. You
might want to try using API instead of passing it as JAVA_OPTS (that
should work too, but no harm trying alternate route). If you have a
bootstrap class, have it read a properties file and set the system
properties for proxy :
System.setProperty("http.proxyHost",...);
System.setProperty("http.proxyPort",...);
-cheers,
Manish
Christine Mayer - 06 Jul 2007 16:06 GMT
Well, I am completly new to the system,
and I need to start at some point! ;-)
Going deep into the Java files just to add the proxy will let me lose
the scope imho.
About the Java JVM, I don't understand it anyway, as in my system
settings the java console is set to "use browser proxy configuration"
- so imho it should actually use the proxy, or is that something
else???
About printing from the batch file, well, I doesn't print anything at
all, even if I just say "echo helloooo" in the very first line. I am
not in expert in batch files, though, and maybe this tomcat batch file
does something that prevents my echo to appear in the tomcat console...