java - How to redirect the request from tomcat server to another tomcat server -
assume there 2 tomcat server running tomcat 1(ip address:101.155.55.15) , tomcat 2(ip address:101.155.55.16) user accessing resource in tomcat 1,tomcat 1 should redirect request tomcat 2 , tomcat 2 should send response tomcat 1 dont no how can approach issue.
you have next 2 choices :
either purchase many public address put 1 server front end , delegate these request.applying sec approach set apache httpd web server in front end of others ip of servers. 1 public ip enough. apache httpd webserver communicate tomcat sever through ajp (apache jserv protocol) protocol.
reference link : reference
java
No comments:
Post a Comment