IIS and Tomcat - can I proxy all requests to a specific app

2003-10-22 Thread Matt Raible
I've integrated Apache with Tomcat on numerous occasions, but never on IIS. We have the following scenario: 1. We want to have a domain name - i.e. www.myresort.com - that is serviced by IIS. 2. We want to map any requests to www.myresort.com to Tomcat's /myresort application. Is this possible?

tomcat as a proxy

2003-08-29 Thread Pike
Hi I would like to write a servlet that intercepts http requests, and optionally rebuilds and redirects them to other (remote) servers. but tomcat doesnt know how to send remote httprequests, does it ? so I guess I need to incorporate a httpclient in my project. is that correct ? does anyone

Re: tomcat as a proxy

2003-08-29 Thread Tim Funk
Httpclient should work fine. Ideally, if you wish to have a tomcat servlet act a proxy server, be sure you read the HTTP specs with respect to proxy servers. There are many gotchas. Before writing too much code and IF you are able to use apache, it would be infinitely easier to use mod_proxy

Re: tomcat as a proxy

2003-08-29 Thread Pike
wish to have a tomcat servlet act a proxy server, be sure you read the HTTP specs with respect to proxy servers. There are many gotchas. I don't think I need to. Tomcat should behave as a plain webserver. Behind the scenes it fetches his data from elsewhere on the web. The client doesn't need to know

Re: tomcat as a proxy

2003-08-29 Thread Tim Funk
? I'm afraid that's a little too restricted... Ideally, if you wish to have a tomcat servlet act a proxy server, be sure you read the HTTP specs with respect to proxy servers. There are many gotchas. I don't think I need to. Tomcat should behave as a plain webserver. Behind the scenes it fetches his

Re: tomcat as a proxy

2003-08-29 Thread Pike
Hi I would like to write a servlet that intercepts http requests, and optionally rebuilds and redirects them to other (remote) servers. Httpclient should work fine. ehm .. which one ? the apache/commons ? oops ... Jakarta Httpclient. ok. but it's too restricted, it only supports some basic

Tomcat behind a proxy server

2003-01-24 Thread JOHAM,DAVID (HP-Boise,ex1)
to see the world. My basic question is this: how do I tell Tomcat what it's proxy settings are for the servlets that run inside of it? I've tried adding -Dhttp.proxyHost and -Dhttp.proxyPort to the catalina.sh file with no success I've also googled and searched through the mail archives but I

Re: Tomcat behind a proxy server

2003-01-24 Thread Pascal Forget
have to connect through to see the world. My basic question is this: how do I tell Tomcat what it's proxy settings are for the servlets that run inside of it? I've tried adding -Dhttp.proxyHost and -Dhttp.proxyPort to the catalina.sh file with no success I've also googled and searched through

RE: Tomcat behind a proxy server

2003-01-24 Thread JOHAM,DAVID (HP-Boise,ex1)
Subject: Re: Tomcat behind a proxy server Have you tried setting these system properties by using System.setProperty(...) from within your servlet (for instance in a static initializer). Each servlet runs in the web app's sandbox, and maybe the properties were not propagated from the main VM

Re: Using Tomcat as a proxy?

2002-08-19 Thread ope
Why would you want to use a Java Servlet Container to do proxying? It's like using a Space Shuttle to do door-to-door delivery. If you need proxying, use Squid or Apache. The reason I have to do this is to make the best of a rather brain dead product deployment. This is not a long term

RE: Using Tomcat as a proxy?

2002-08-19 Thread Cox, Charlie
-Original Message- From: ope [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 12:38 PM To: Tomcat Users List Subject: Re: Using Tomcat as a proxy? Why would you want to use a Java Servlet Container to do proxying? It's like using a Space Shuttle to do door

RE: Using Tomcat as a proxy?

2002-08-19 Thread ope
think that writing a 'proxy' servlet will end up being the quickest way to an end in this case. --- Cox, Charlie [EMAIL PROTECTED] wrote: -Original Message- From: ope [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 12:38 PM To: Tomcat Users List Subject: Re: Using Tomcat

Re: Using Tomcat as a proxy?

2002-08-17 Thread Nikola Milutinovic
ope wrote: I am looking for a way to use Tomcat as a proxy similar to the way that Apache can be setup to proxy to Tomcat. What I want to do is have Tomcat setup so that any URLs that have the path http://myserver/someapp are forwarded to http://otherserver/someapp. Apache can do

Tomcat and SOCKS proxy server

2002-08-12 Thread Rutledge, Aaron
I am trying to use Tomcat behind a SOCKS firewall. I have a servlet that is trying to access information outside the application context and I am getting the following exceptions java.net.NoRouteToHostException: No route to host: connect at

Tomcat with Web Proxy

2001-10-31 Thread Hider, Sandy
Hi All, This is my first post so I apologize if this has already been covered. I am trying to setup an Apache server running Tomcat behind a web proxy. After our initial tests, it seems the web pages are being displayed but not the JSP and Servlets. Can anyone explain any possible problems I

Using tomcat as a proxy

2001-09-25 Thread Donie Kelly
Hi We have a HTTP application written in C and we now need to add https support. I was thinking that we could use tomcat as a proxy to accept the request on one side and forward it over https... Any ideas on how we could do this? We could use apache using mod_proxy (I think) but tomcat

Re: Using tomcat as a proxy

2001-09-25 Thread Graham Leggett
Donie Kelly wrote: We have a HTTP application written in C and we now need to add https support. I was thinking that we could use tomcat as a proxy to accept the request on one side and forward it over https... Any ideas on how we could do this? We could use apache using mod_proxy (I