aspose file tools*
The moose likes Tomcat and the fly likes Using tomcat as proxy for non Tomcat application. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Using tomcat as proxy for non Tomcat application." Watch "Using tomcat as proxy for non Tomcat application." New topic
Author

Using tomcat as proxy for non Tomcat application.

Arpan Raj
Greenhorn

Joined: Apr 22, 2010
Posts: 15

Hi folks,
I am new to tomcat. We have a fitnesse server running on port 80 (can be any) and now want to configure tomcat in such a way that all the request coming to tomcat are redirected to fitnesse server.Clinet should not know that he is using fitnesse or something else.
If tomcat is running on 8080 then client when types localhost:8080 actually requests are going to localhost:80 but client doesn't know.

How to achieve this?

Thanks in advance.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15665
    
  15

What's the point in running Tomcat, then? There are simpler ways to proxy that take less resources than Tomcat does.


Customer surveys are for companies who didn't pay proper attention to begin with.
Arpan Raj
Greenhorn

Joined: Apr 22, 2010
Posts: 15

Actually in future we want some more features to be added in tomcat after getting the request and before passing that request to the Fitnesse.
What other ways of proxying do you suggest?
Thanks.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15665
    
  15

If you want full flexibility, consider using a true proxying server such as Apache or Squid. They can do the job without requiring you to write a lot of custom code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using tomcat as proxy for non Tomcat application.
 
Similar Threads
TOMCAT/APACHE integration
Need to write interceptor for non tomcat application.
The connection was refused when attempting to contact localhost:7001
my first jsp can not display(http status 500)
HTTP Status 404 error in tomcat