Exportarchive.sh Is Not Working and Errors With, javax.crypto.BadPaddingException: Given final block not properly padded
(Doc ID 2917486.1)
Last updated on DECEMBER 28, 2022
Applies to:
Business Intelligence Server Enterprise Edition - Version 12.2.1.4.211207 and laterInformation in this document applies to any platform.
Symptoms
Exportarchive.sh fails right after starting it and with the following errors in the following logs:
ERRORS:
======
metadatalcm_op_run.log:
-----------------------------------
[2022-08-12T17:17:07.019-04:00] [bi] [ERROR] [] [oracle.bi.metadata.lcm.plugin.StoragePluginManager] [tid: XX] [ecid:X] Executed of operation beginExport FAILED for oracle.bi.web.datasetsvc.car.plugin.metadata.OfflineDSSStoragePlugin. Status object: false
[2022-08-12T17:17:07.021-04:00] [bi] [ERROR] [] [oracle.bi.metadata.lcm.framework.LCMTaskWorker] [tid: XX] [ecid: X] ****************FAILED STORAGE PLUGIN DETAILS *****************[[
Storage Plugin failed for: oracle.bi.web.datasetsvc.car.plugin.metadata.OfflineDSSStoragePlugin:beginExport
Failed Operation Statue Code Description: Operation Failed
**************************************************************
]]
[2022-08-12T17:17:07.021-04:00] [bi] [ERROR] [] [oracle.bi.metadata.lcm.framework.LCMTaskWorker] [tid: XX] [ecid: X] Error Reported in Storage Plugin is: Error exporting archive: oracle.bi.web.datasetsvc.common.plugin.offline.DirectAPIException: Error exporting content archive
[2022-08-12T17:17:07.021-04:00] [bi] [ERROR] [] [oracle.bi.metadata.lcm.framework.ExportArchive] [tid: XX] [ecid: X] Storage Plugin beginExport failed!
[2022-08-12T17:17:07.021-04:00] [bi] [NOTIFICATION] [] [oracle.bi.metadata.lcm.framework.LCMTaskWorker] [tid: XX] [ecid: X] The Execution Options Passed: [[
dss_storage_plugin.log
---------------------------------
Caused by: oracle.bi.web.datasetsvc.common.plugin.offline.DirectAPIException: Error exporting content archive
at oracle.bi.web.datasetsvc.car.plugin.offline.DirectAPIClient.exportContentArchive(DirectAPIClient.java:52)
at oracle.bi.web.datasetsvc.car.plugin.metadata.fmw12c.DSSAPIAgentImpl.beginExport(DSSAPIAgentImpl.java:58)
... 14 more
Caused by: oracle.bi.web.datasetsvc.api.direct.exception.DirectApiInternalException: oracle.bi.web.datasetsvc.api.core.exception.ArchiveException: oracle.bi.web.datasetsvc.credstore.CredentialException: Error querying credential
at oracle.bi.web.datasetsvc.api.direct.v2.DirectApiImpl.exportContentArchive(DirectApiImpl.java:118)
at oracle.bi.web.datasetsvc.car.plugin.offline.DirectAPIClient.exportContentArchive(DirectAPIClient.java:46)
... 15 more
Caused by: oracle.bi.web.datasetsvc.api.core.exception.ArchiveException: oracle.bi.web.datasetsvc.credstore.CredentialException: Error querying credential
at oracle.bi.web.datasetsvc.car.service.exp.v01.ArchiveExporterImpl.exportConnectionCredentials(ArchiveExporterImpl.java:863)
at oracle.bi.web.datasetsvc.car.service.exp.v01.ArchiveExporterImpl.exportArchive(ArchiveExporterImpl.java:220)
at oracle.bi.web.datasetsvc.car.operations.exp.ArchiveExportManager.exportArchive(ArchiveExportManager.java:126)
at oracle.bi.web.datasetsvc.api.core.v2.ArchiveCore.exportContentArchive(ArchiveCore.java:28)
at oracle.bi.web.datasetsvc.api.direct.v2.DirectApiImpl.exportContentArchive(DirectApiImpl.java:110)
... 16 more
Caused by: oracle.bi.web.datasetsvc.credstore.CredentialException: Error querying credential
at oracle.bi.web.datasetsvc.credstore.impl.table.TableCredentialStore.getCredential(TableCredentialStore.java:126)
at oracle.bi.web.datasetsvc.car.service.exp.v01.ArchiveExporterImpl.getCredential(ArchiveExporterImpl.java:891)
at oracle.bi.web.datasetsvc.car.service.exp.v01.ArchiveExporterImpl.exportConnectionCredentials(ArchiveExporterImpl.java:823)
... 20 more
Caused by: oracle.bi.web.datasetsvc.credstore.impl.table.cipher.CipherException: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
STEPS:
======
1. Run the exportarchive command at command line and process fails quickly.
2. Running without the password results in the same errors.
Changes
User had left the company.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |