Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

[Tomcat] Exluding IPs from Proxyserver

Thread view: 
Christine Mayer - 14 Aug 2007 16:08 GMT
Hi, Iam using a Tomcat server (only for development) on my local pc,
within a company network that is using a proxy server. Problem: My
application does http requests to a server were a proxy is required,
as well as requests to an
IP were no proxy is required / allowed. I added these 2 lines to my
catalina.properties file:

http.proxyPort=<MYPROXY_PORT>
http.proxyHost= <MYPROXY_URL>

If I add these lines, the service that requires the proxy works,
however the other service does not work -
and vice versa.

Is there a way to configure Tomcat so that I may use a proxy, but
exlude certain URLS, just like you can do in a browser?

Thanks in advance,

Christine
moonkev@gmail.com - 14 Aug 2007 17:17 GMT
> Hi, Iam using a Tomcat server (only for development) on my local pc,
> within a company network that is using a proxy server. Problem: My
[quoted text clipped - 16 lines]
>
> Christine

Hi christsine,

you need to use the nonProxyHosts system property.  You can use a |
(pipe) to separate the hosts.

-Kevin
Christine Mayer - 14 Aug 2007 18:21 GMT
THANKS a lot!!!!

That did it!!! :-))))


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.