tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KEREM ERKAN <kerem.er...@basari.com.tr>
Subject RE: starting Tomcat service
Date Fri, 23 Sep 2005 06:43:32 GMT
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:tuan_quan@yahoo.com] 
> Sent: Thursday, September 22, 2005 10:48 PM
> To: tomcat-user@jakarta.apache.org
> 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. 
> 

Mime
View raw message