Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Find server which is servicing the request

User_19BPUNov 28 2016 — edited Dec 5 2016

Hi,

I have 5 Prod servers which are clustered, hence the request may go to any of the Prod servers based on the load balancing setup, there are cases we found that a particular service say customer service is up and running in server 1,2, 3 but it is down in server 4 & 5. In such case the if request hits either server 4 or 5 , the request is not processed and we are getting an error stating the customer service is down in the respective server logs in this case it is in server 4 logs. Now I want to send an email to respective user via Java application when the service is down in any one of the 5 servers for which the request is send? how I can use the java code to find the request is send to which server? and how I can get the server name/IP address which is not able to service the request because the respective customer service is down.

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 2 2017
Added on Nov 28 2016
4 comments
221 views