This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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.
Vijay Gadde
Coming together is a beginning. Keeping together is progress.. Working together is success........
Jimmy Clark
Ranch Hand
Joined: Apr 16, 2008
Posts: 2187
posted
0
This can also be implemented with a server application without using windows scheduler or a windows service.
Vijay Gadde
Ranch Hand
Joined: Sep 30, 2008
Posts: 54
posted
0
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
Joined: Apr 16, 2008
Posts: 2187
posted
0
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.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.