tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Galli <>
Subject R: jdbc check available database
Date Tue, 09 Aug 2016 08:52:23 GMT
Thank you Christoph , but in this how-to there isn't any example for SQL

-----Messaggio originale-----
Da: Christoph Nenning []
Inviato: martedì 2 agosto 2016 09:44
A: Tomcat Users List <>
Oggetto: Re: jdbc check available database

> Hello guys,
> I’ve SQL Server database with Tomcat 7 and, when I restart only
>  webapps on Tomcat didn’t works , it show me error to connect to
database ..
> In webapp context I use jdbc driver for connect, so there is a kind of
> method for retry to connect to database when it return available?


I suggest to use a DataSource instead of dealing with jdbc connections on
your own.



This Email was scanned by Sophos Anti Virus

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message