• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Using tomcat as proxy for non Tomcat application.

 
Greenhorn
Posts: 15
Eclipse IDE Java
  • 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.
 
Bartender
Posts: 20836
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • 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
  • 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
Bartender
Posts: 20836
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!