File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using tomcat as proxy for non Tomcat application.

 
Arpan Raj
Greenhorn
Posts: 15
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 17621
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the point in running Tomcat, then? There are simpler ways to proxy that take less resources than Tomcat does.
 
Arpan Raj
Greenhorn
Posts: 15
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 17621
39
Android Eclipse IDE Linux
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic