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.
>
>
> 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 Tomcat. If it
> fails, it may say "Oracle down, I am not starting Tomcat".
>
> Cheers,
>
> Kerem
>
> > -----Original Message-----
> > From: Tuan Quan [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 22, 2005 10:48 PM
> > To: [email protected]
> > Subject: starting Tomcat service
> >
> > In windows, one of my webapp needs to connect to a database
> > in order to work correctly.
> > How can I check for oracle database ready before starting
> > Tomcat service?
> > Set 'DependOnService' parameter in registry to point to
> > Oracle db service, may work, but what if the database is on a
> > different PC?
> >
> > thanks
> >
> >
> >
> > ---------------------------------
> > Yahoo! for Good
> > Click here to donate to the Hurricane Katrina relief effort.
> >
>
>
> ---------------------------------
> Yahoo! for Good
>  Click here to donate to the Hurricane Katrina relief effort.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to