Hello, I use a tomcat 4.1.30 and have 2 applications on it which do calls to URLs to retrieve data.
the first one needs a proxy server because it retrieves data from an outside link. So I added code to the Catalina.bat: set JAVA_OPTS=-Dhttps.proxyHost=any-IP-Address -Dhttps.proxyPort=6666 -Djavax.net.ssl.trustStore=C:\Programme\Java\jdk1.5.0_04\jre\lib\security\cacerts
But the second application doesn't need the proxy, so I tried to handle this by adding
but this doesn't help!
There ist always the error java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.0 405 Method not allowed"
If I remove the entry in Catalina.bat completely, the second application works, but the first of course not. And the other way around.
Any ideas why this doesn't work? The calls are using https.