Hi,
If you're using a connection pool and you have minIdle set to anything
higher than 0, Tomcat will try to create a connection on startup and
send an error to the log if that's unsuccessful.

Otherwise, you have to test JDBC connectivity yourself with a little bit
of code.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Venkat & Radha Venkataramanan
[mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 09, 2004 3:06 PM
>To: [EMAIL PROTECTED]
>Subject: What's the best way to test a database connection
>
>Hello:
>
>
>
>I just finished installing Tomcat 5.5.1.
>
>
>
>I would like to know if it ships with any utility to check database
>connectivity. I created a JDBC connection to a SQL server and I would
like
>to test the database access.
>
>
>
>Thanks.
>
>
>
>Venkat




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to