You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2007/10/30 13:13:01 UTC

DO NOT REPLY [Bug 43730] - User-settable JVM DNS cache expiry

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43730>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43730


sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement




------- Additional Comments From sebb@apache.org  2007-10-30 05:13 -------
As a work-round for Sun JVMs, the property sun.net.inetaddr.ttl can be set on 
the command-line using -D or in the JMeter file system.properties.

Other Java networking properties can be set on the command-line or in 
system.properties.

It is only networkaddress.cache.ttl that cannot be set this way; it would need 
to be set by:

java.security.Security.setProperty("networkaddress.cache.ttl" , "0");

This can be done with the current JMeter by using the JMeter property

beanshell.init.file

which names a BeanShell script to be run at startup. Of course this requires 
that the BeanShell jar has been put on the classpath (e.g. in lib/).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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