You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/04/02 14:58:27 UTC
[tomcat] branch 7.0.x updated: Deprecate the
org.apache.catalina.tribes.dns_lookups system property
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new ebdb601 Deprecate the org.apache.catalina.tribes.dns_lookups system property
ebdb601 is described below
commit ebdb601ccc146ddda2e24d67a8d267928b78bddf
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Apr 2 15:56:09 2020 +0100
Deprecate the org.apache.catalina.tribes.dns_lookups system property
---
java/org/apache/catalina/tribes/membership/MemberImpl.java | 3 +++
webapps/docs/config/systemprops.xml | 2 ++
2 files changed, 5 insertions(+)
diff --git a/java/org/apache/catalina/tribes/membership/MemberImpl.java b/java/org/apache/catalina/tribes/membership/MemberImpl.java
index b3634a8..acf3afb 100644
--- a/java/org/apache/catalina/tribes/membership/MemberImpl.java
+++ b/java/org/apache/catalina/tribes/membership/MemberImpl.java
@@ -38,7 +38,10 @@ public class MemberImpl implements Member, java.io.Externalizable {
/**
* Should a call to getName or getHostName try to do a DNS lookup?
* default is false
+ *
+ * @deprecated This will be removed without replacement in Tomact 10 onwards
*/
+ @Deprecated
public static final boolean DO_DNS_LOOKUPS = Boolean.parseBoolean(System.getProperty("org.apache.catalina.tribes.dns_lookups","false"));
/**
diff --git a/webapps/docs/config/systemprops.xml b/webapps/docs/config/systemprops.xml
index 954ceed..928391b 100644
--- a/webapps/docs/config/systemprops.xml
+++ b/webapps/docs/config/systemprops.xml
@@ -60,6 +60,8 @@
<properties>
<property name="org.apache.catalina. tribes.dns_lookups">
+ <p>This system property is deprecated and will be removed without
+ replacement in Apache Tomcat 10 onwards.</p>
<p>If <code>true</code>, the clustering module will attempt to use DNS to
resolve any host names provided in the cluster configuration.</p>
<p>If not specified, the default value of <code>false</code> will be used.</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org