i earlier mentioned the host name of the server (archive.tf.com)
No, you did not. And if you believe you did that may indeed be part of the problem.
The log you showed has this:
conn =jdbc:postgresql://dnsname:5432/edb
If you didn't change that for the email then there is at least one of your problems.
Maybe you stuck the name of the host in a variable named "dnsname" but it didn't get properly dereferenced?
David J.