Issue :
Could not authenticate to Oracle Database Cloud Backup Module
Observation :
Oracle Database Cloud Backup Module Install Tool, build 2016-10-07
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
Reason :
Communication was happening via proxy server and there was no such option provided with cloud module installation.
Fix :
The below was tried and it helped to fix the issue.
Use -proxyHost and -proxyport options as below:
java -jar opc_install.jar -serviceName Storage -identityDomain <identity domain> -opcId ‘<backup user name>’ -opcPass ‘<backup user password>’ -walletDir /<wallet path>/wallet -libDir /<lib path>/lib -host <host> -proxyHost <proxy host> -proxyport <port>