This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes URGENT: jdk parameter  to expire IP cache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "URGENT: jdk parameter  to expire IP cache" Watch "URGENT: jdk parameter  to expire IP cache" New topic
Author

URGENT: jdk parameter to expire IP cache

Biswajit Paria
Ranch Hand

Joined: Feb 02, 2003
Posts: 46
Hi All,

The following jdk parameter will expire the IP cache in JDK 1.4.
-Dnetworkaddress.cache.ttl=60

Could you please let me know,whether this option will work in JDK 1.3 too.
or there are any other option in JDK 1.3 to expire IP cache?

Regards,
Biswajit Paria
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13883
    
  10

Putting "URGENT" in the topic title does not help. Remember that people answering your questions here are just volunteers who do not have any obligation to you; read this: Ease Up.

The API documentation for class java.net.InetAddress for Java 1.4.2 mention this networking property, but the documentation for Java 1.3.1 does not. So most likely this setting does not exist in version 1.3.1.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Biswajit Paria
Ranch Hand

Joined: Feb 02, 2003
Posts: 46
What about -Dsun.net.inetaddr.ttl parameter?
Could anyone please look into it?

Thanks,
Biswajit.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13883
    
  10

"Could anyone please look into it?"

Why don't you look into it yourself? Type in "sun.net.inetaddr.ttl" into Google.

How about trying it out on Java 1.3 and see if it works or not?

Found this with Google: DNS Cache Timeout
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: URGENT: jdk parameter to expire IP cache
 
Similar Threads
RenderParameter problem
"no suitable driver" problem while connecting to Access
AdviceClient from Head First EJB
Maximizing JFrame
is assert java keyword?