• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web services status

 
Vijay Gadde
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

It may look bit stupid..but I need to get something setup..

" Monitoring webservices, and if they are down sent emails to a group of people and keep checking at an equal intervel of time and again when services are back up and running again email a confirmation to the group of people".

For this I am planning to impliment like
Step1. Write a Java Progration / method to check the status of the WebService.

Steap. Write a shedule method which runs every 30mns intervel and call service status.

Step3: Success or Failue email the respective people about the service status.
Using windows shedular, let the program run and keep monitoring the services.

Another advanced step, install this Java.BAT program as windows service and configure furher.

Any suggestions - great help.

Thanks and regards,VIJAY.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This can also be implemented with a server application without using windows scheduler or a windows service.
 
Vijay Gadde
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could you please let me know how can I make it as server application?
Would it be possible to install a java problem on Tomcat server and get it run in freequent interval times.

Any suggestions on how can i make this java program to make it as server applicaiton.

Thanks in advance.
Reg,VJ
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat is a simple web server for serving up HTML documents. A server application such as the one you are looking to implement would not be a part of Tomcat. All you need is a JRE to run the server. You could run it on the same machine that Tomcat is on or a different machine inside your network. Below is some code for you to think about.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic