-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

We have a utility application that we've been using to execute java 
instances and to keep an eye on them in case they freeze or die. This is 
the JServWatcher java application. Basically, it reads the watcher.conf 
file to see where your jserv java configurations are and it launches them. 
It then continues to check every n seconds that they are all running.

The original version was for Unix only Jonathan Tew has put together an NT 
version of the JServWatcher which I've checked into the jserv_whiteboard. 
For anyone who's interested, you can find it at:

The java watcher application:
jserv_whiteboard/src/java/org/apache/jserv/util/*

The windows utility programs to do the executing and killing (like unix 
exec and kill)
jserv_whiteboard/src/c/watcher/win/*

Some scripts and sample config file
jserv_whiteboard/src/script/watcher/*


Some day, we would like to have this integrated into the jserv application 
itself so that we can pass signals to it to manage the java instances. This 
is not an official project yet, but perhaps with some more discussion and 
coding it can become part of the system.

Enjoy.


Bernie

Bernie Bernstein
Talk City Inc.
[EMAIL PROTECTED]             Join the Conversation.
voice: 408-871-5320                          http://www.talkcity.com/



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to