Siren Platform User Guide

Cannot reconnect to a datasource by hostname after a DNS update

When the Java security manager is enabled, the JVM will cache name resolutions indefinitely; if the system you are connecting to uses round-robin DNS or the IP address of the system changes frequently, you must modify the following Java Security Policy properties:

  • networkaddress.cache.ttl: the number of seconds to cache a successful DNS lookup. Defaults to -1 (forever).
  • networkaddress.cache.negative.ttl: the number of seconds to cache an unsuccessful DNS lookup. Defaults to 10, set to 0 to avoid caching.

Search results

    No results found