You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/06/13 21:51:54 UTC

[Bug 59697] New: tomcat cache DNS forever

https://bz.apache.org/bugzilla/show_bug.cgi?id=59697

            Bug ID: 59697
           Summary: tomcat cache DNS forever
           Product: Tomcat 7
           Version: 7.0.56
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: niranjan.bommu@gmail.com

Hi All,

I have an issue with tomcat dns cache ttl, where if I change the IP address of
the database server, tomcat still sending connection requests to an old IP
until I restart tomcat, this is not the case with Jboss. I have verified in
java security, this what we have in java.

#networkaddress.cache.ttl=-1

since this property has been disabled, by default ttl will be 30 sec, jboss 7
is respecting this value, but not tomcat.

so far I have tried these things in tomcat.

https://bz.apache.org/bugzilla/show_bug.cgi?id=33226

neither of these settings are not working in tomcat.

-Dnetworkaddress.cache.ttl=0 or -Dsun.net.inetaddr.ttl=0


java version "1.7.0_60"
tomcat-7.0.56
os centos 6.

can someone please help me out on this?

thanks
Niranjan

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59697] tomcat cache DNS forever

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59697

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
I fail to see how Tomcat interacts with this. Tomcat doesn't maintain a DNS
cache of its own.

I see an email on the user mailing this about this posted two hours before this
bugzilla, that's where support questions should go to. Bugzilla is not a
support forum. Even if a support question doesn't get answered fast enough for
your liking, it is not an excuse to file a bugzilla about it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59697] tomcat cache DNS forever

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59697

Niranjan <ni...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |niranjan.bommu@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org