wood burning stoves 2.0*
The moose likes Web Services and the fly likes Web services status Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Web services status" Watch "Web services status" New topic
Author

Web services status

Vijay Gadde
Ranch Hand

Joined: Sep 30, 2008
Posts: 54
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.

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
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
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
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://aspose.com/file-tools
 
subject: Web services status