tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Connecting to other internet sites from a Tomcat application via a proxy server
Date Mon, 21 Feb 2011 07:47:19 GMT
Conway Liu wrote:
> Hi,
> 
> Previously our Tomcat application can create https requests and send the request 
> to other website, which sends response back to our application with required 
> data.
> 
> Now our Tomcat appcation has been migrated to a server that is not allowed to 
> send the requests directly to the internet, but rather needs to send through a 
> proxy server, kind of like specifying a proxy server in web browsers.
> 
> How do I tell Tomcat that "When you need make a https connection, please do it 
> via this proxy server"?
> 
You do not have to tell Tomcat anything, as Tomcat has nothing to do with the matter.
It is your application which needs to be told.
To make its connection to the external server, the application uses java "network" 
classes. It is those classes you need to look at, and set up properly.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message