During the installation of Oracle BI Publisher 11.1.1.7 appears an error during "Setting up Database Connection" part of the process
Looking at the log and out files found that the problem was during the execution of /oracle/product/middleware/11.1.1.7/Oracle_BI1/bifoundation/install/writeRegistryProperties.py
There is a step where a zip file is copied and extracted
Copied from /oracle/product/middleware/11.1.1.7/Oracle_BI1/products/ha-scripts/essfoconfig.zip to /oracle/product/middleware/11.1.1.7/instances/instance1/bin/essbase_ha/essfoconfig.zip
Appears to be the extraction of the zipped files, but I found that the result file from the copy zip file was empty, with 0 bytes, that's why the extraction failed.
I edited the writeRegistryPropertiecs.py and changed the method that do the copy process.
import shutil
...
...
...
#EpmDeployUtils.copyFile(val_oracleHome + "/products/ha-scripts/essfoconfig.zip", val_oracleInstance + "/bin/essbase_ha/essfoconfig.zip")
shutil.copy(val_oracleHome + '/products/ha-scripts/essfoconfig.zip', val_oracleInstance + '/bin/essbase_ha/essfoconfig.zip')
Restarted the installation process and worked as expected.
Cheers.
JP
Looking at the log and out files found that the problem was during the execution of /oracle/product/middleware/11.1.1.7/Oracle_BI1/bifoundation/install/writeRegistryProperties.py
There is a step where a zip file is copied and extracted
Copied from /oracle/product/middleware/11.1.1.7/Oracle_BI1/products/ha-scripts/essfoconfig.zip to /oracle/product/middleware/11.1.1.7/instances/instance1/bin/essbase_ha/essfoconfig.zip
Appears to be the extraction of the zipped files, but I found that the result file from the copy zip file was empty, with 0 bytes, that's why the extraction failed.
I edited the writeRegistryPropertiecs.py and changed the method that do the copy process.
import shutil
...
...
...
#EpmDeployUtils.copyFile(val_oracleHome + "/products/ha-scripts/essfoconfig.zip", val_oracleInstance + "/bin/essbase_ha/essfoconfig.zip")
shutil.copy(val_oracleHome + '/products/ha-scripts/essfoconfig.zip', val_oracleInstance + '/bin/essbase_ha/essfoconfig.zip')
Restarted the installation process and worked as expected.
Cheers.
JP
No comments:
Post a Comment