You may write a shell script which includes a java program to test oracle
connectivity and if it can connect, it can be used to start Tomcat. If it
fails, it may say Oracle down, I am not starting Tomcat.
Cheers,
Kerem
-Original Message-
From: Tuan Quan [mailto:[EMAIL PROTECTED]
Thanks Kerem,
But I want the script to run at boot time, in Windows.
Rather than having to login and run the script manually.
KEREM ERKAN [EMAIL PROTECTED] wrote:
You may write a shell script which includes a java program to test oracle
connectivity and if it can connect, it can be used to start
From: Tuan Quan [mailto:[EMAIL PROTECTED]
But I want the script to run at boot time, in Windows.
You might wish to look at srvany
(http://support.microsoft.com/default.aspx/kb/q137890/). This allows
you to start any process as a Windows service.
- Peter
My two cents:
Write a Script in Windows, make it service (Plenty of code on Web),
which starts on when Windows start.
On 9/23/05, Tuan Quan [EMAIL PROTECTED] wrote:
Thanks Kerem,
But I want the script to run at boot time, in Windows.
Rather than having to login and run the script manually.