Re: tomcat dns cache forever

2016-06-14 Thread Niranjan Babu Bommu
Hi Chris, here is how I'm connecting to the database. Thanks Niranjan On Tue, Jun 14, 2016 at 3:41 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Niranjan, > > On 6/10/16 11:45 AM, Niranjan Babu Bommu wrote: > > I have an i

Re: tomcat dns cache forever

2016-06-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niranjan, On 6/10/16 11:45 AM, Niranjan Babu Bommu wrote: > I have an issue with tomcat dns cache ttl, where if I change the IP > address of the database, tomcat still sending connection requests > to an old IP until I restart tomcat, this is not the

tomcat dns cache forever

2016-06-10 Thread Niranjan Babu Bommu
Hi All, I have an issue with tomcat dns cache ttl, where if I change the IP address of the database, tomcat still sending connection requests to an old IP until I restart tomcat, this is not the case with Jboss. I verified in java security, this what we have in java. #networkaddress.cache.ttl=-1