javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: XXXXX001]
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://X.X.X.X:8101: Bootstrap to X.X.X.X/X.X.X.X:8101 failed. It is likely that the remote side declared peer gone on this JVM]
Solution:
Add "X.X.X.X XXXXX001" in /etc/hosts (C:\WINDOWS\system32\drivers\etc\hosts for Windows).