InfoSphere Information Governance Catalog import failed with message "An error occurred on . "
Problem(Abstract)
InfoSphere Information Governance Catalog (IGC) Import failed with message "An error occurred on <timestamp>. Further details may be found in the server logs or browser console", but no error is displayed in the igc.log file
Symptom
InfoSphere Information Governance Catalog Import displays at the end of the import the message "An error occurred on <timestamp>. Further details may be found in the server logs or browser console" as "Import Summary", but the assets (Categories, Terms , ...) were imported.
Cause
To prevent cross-frame scripting attacks, the value of the com.ibm.iis.gov.xFrameOptions could be set to 'DENY'. This value cause this error message at the end of the import, in spite of import ended successfully.
Unfortunately, this value ('DENY') was previously recommended by the documentation for the configuration of InfoSphere Information Governance Catalog.
Diagnosing the problem
In spite of the "Import Summary" message, the igc.log file demonstrates that the Import is successful.
Extract of the igc log file in line with the error message:
2015-04-03 13:10:16,829 INFO xml.GlossaryXMLImport - Start importing glossary XML in one chunk
2015-04-03 13:10:16,895 INFO aiimport.ImportUtils - Generating workflow metadata...
2015-04-03 13:10:16,897 INFO aiimport.ImportUtils - Workflow metadata creation done.
2015-04-03 13:10:16,900 INFO aiimport.ImportUtils - Synching assigned assets...
2015-04-03 13:10:16,900 INFO xml.GlossaryXMLImport - Glossary XML import completed successfully.
Resolving the problem
Change the value of the bg.xFrameOptions to SAMEORIGIN on the Service tier.
cd IS_install_path/ASBServer/bin
./iisAdmin.sh -set -key com.ibm.iis.gov.xFrameOptions -value SAMEORIGIN
(SAMEORIGIN to replace DENY)