Re: how to connect to datasource

2011-11-09 Thread spike@12
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 >> >> aut

Re: how to connect to datasource

2011-11-09 Thread spike@12
No. I am using tomcat 6.0, java 6.0, linux system. Pid * wrote: > > On 09/11/2011 07:00, spike@12 wrote: >> >> Hi, >> >> I have setup my application using with tomcat and it is working fine. But >> when I have restarted my DB machine, my application is

how to connect to datasource

2011-11-08 Thread spike@12
Hi, I have setup my application using with tomcat and it is working fine. But when I have restarted my DB machine, my application is not working. If I have restart my tomcat server then it is working fine. may I know, how to connect to datasource automatically if my DB machine is restarted?? Is