Hi everyone,
First let me explain the topic,
the scenario is that I've an java web application on a server (let suppose APP-SERVER) and an external access is configured to this application using apache2.2 on another server (let suppose MAIN-SERVER) that actually from outside first request comes to apache on MAIN-SERVER and then this apache redirects this request to another apache on MAIN-SERVER where application is installed and then this apache redirect this request to the application on this same server (MAIN-SERVER).
actually this is something that is actually configured, but now the issue is some time the external access work very fine for long time 20-30days with no issue and in case it goes down then I go to the site and restart apache on both servers and then its become working again ... but some time this external access goes down again again ... and the same is happening to me now a days and this time it goes down almost every day even twice in a day and client is very upset now.
I'm searching the net since last 4day but still unable to find the solution or any other better or easy way to do this redirection. so please suggest me some good mechanism to configure external access (because current conf goes down again n again)
note: MAIN-SERVER is already configured by the client IT to recieve external access now what I've to configure is to redirect request from this server to the server having Application installed (APP-SERVER).
In one thing i succeeded today is to add index.html page in Apache having some simple javascript code that redirects to application on another server using its IP e.g.
http://APP-SERVER IP:8080/application
but i think this will not works because it redirects the complete URL to APP-SERVER and externally this APP-SERVER is not accessible.
so please at-least any suggestion that helps me in resolving this issue or to setup any better mechanism for this scenario
THANKS REALLY BECAUSE I'M REALLY UPSET.
Also one more thing for my correction so my google-ing should on right path .... that this scenario is called some thing like "TOMCAT REDIRECT TO ANOTHER SERVER" ... correct ??