Patch 18339044 (Doc ID 2067327.1)

Last updated on OCTOBER 16, 2015

Applies to:

Oracle Database Backup Service - Version N/A to N/A
Information in this document applies to any platform.

Goal

Installing the Oracle Cloud Client library but getting a 401 error.

opc_installer>java -jar opc_install.jar -serviceName <service> -identityDomain <domain> -opcId <username> -opcPass <pwd> -walletDir C:\app\oracle\product\11.2.0\dbhome_1\database\opc_wallet -libDir C:\app\oracle\product\11.2.0\dbhome_1\BIN

Oracle Database Cloud Backup Module Install Tool, build 2015-05-12
java.io.IOException: Server returned HTTP response code: 401 for URL: https://domain.storage.oraclecloud.com/v1/<service-domain>/?format=xml
       at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
       at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
       at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
       at oracle.backup.opc.install.OpcConfig.testConnection(OpcConfig.java:231)
       at oracle.backup.opc.install.OpcConfig.doOpcConfig(OpcConfig.java:200)
       at oracle.backup.opc.install.OpcConfig.main(OpcConfig.java:193)
Could not authenticate to Oracle Database Cloud Backup Module

HTTP Response code:
401 means "Unauthorized", so there must be something with your credentials.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms