now it is working fine, after adding validationQuery,testOnBorrow parameters.
Thanks to all.
billybob79 wrote:
>
> >> may I know, how to connect to datasource automatically if my DB
> machine
>
>> >> is
>> >> restarted?? Is it having any specific parameter to connect datasource
>> >> automatically??
>>
>
> How does the existing app connect to the database? Can you show the code
> please - remove any sensitive passwords
>
> Thanks
>
> Chris
>
>
--
View this message in context: http://old.nabble.com/how-to-connect-to-datasource-tp32809000p32816289.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|