Troubleshooting datasources

If you experience a problem while configuring remote datasources, see the following information for a possible solution.

I 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 that you are connecting to uses round-robin DNS or if the IP address of the system changes frequently, you will need to 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 this value to 0 to avoid caching.