Dear GURUS,
I'm on OBIEE 12.2.1.4 and it seems the process of generating BAR file has changed in this version.
Now, I am trying to generate the BAR files using "export_service_instance.cmd ssi
\TMP" present in "<BI_HOME>user_projects\domains\bi\bitools\bin>".
However, I am getting error again and again as below:
"
SEVERE: [PROBLEM_EXPORTING_BAR_FILE] Problem exporting BAR: location=D:\TMP
java.nio.file.FileAlreadyExistsException:
\TMP
at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:343)
at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.j
ava:287)
at java.nio.file.Files.move(Files.java:1395)
at oracle.bi.servicelcm_v2.internal.bar.BarImportExport.exportBar(BarImp
ortExport.java:91)
at oracle.bi.servicelcm_v2.operations.DefaultAnalyticApplicationOperatio
ns.exportBar(DefaultAnalyticApplicationOperations.java:160)
at oracle.bi.servicelcm_v2.domain.application.AnalyticApplicationCustomi
sation.exportBAR(AnalyticApplicationCustomisation.java:115)
at oracle.bi.servicelcm.cli_v2.ExportServiceInstanceAction.run(ExportSer
viceInstanceAction.java:88)
at oracle.bi.servicelcm.cli_v2.LcmCli.main(LcmCli.java:24)
Sep 06, 2018 3:10:02 AM oracle.bi.servicelcm_v2.operations.DefaultAnalyticApplic
ationOperations exportBar
SEVERE: [PROBLEM_EXPORTING_BAR_FILE] Problem exporting BAR: location=D:\TMP
java.nio.file.FileAlreadyExistsException:
\TMP
at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:343)
at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.j
ava:287)
at java.nio.file.Files.move(Files.java:1395)
at oracle.bi.servicelcm_v2.internal.bar.BarImportExport.exportBar(BarImp
ortExport.java:91)
at oracle.bi.servicelcm_v2.operations.DefaultAnalyticApplicationOperatio
ns.exportBar(DefaultAnalyticApplicationOperations.java:160)
at oracle.bi.servicelcm_v2.domain.application.AnalyticApplicationCustomi
sation.exportBAR(AnalyticApplicationCustomisation.java:115)
at oracle.bi.servicelcm.cli_v2.ExportServiceInstanceAction.run(ExportSer
viceInstanceAction.java:88)
at oracle.bi.servicelcm.cli_v2.LcmCli.main(LcmCli.java:24)
Exception in thread "main" oracle.bi.servicelcm_v2.exceptions.UnexpectedBarExpor
tException: java.nio.file.FileAlreadyExistsException:
\TMP
at oracle.bi.servicelcm_v2.operations.DefaultAnalyticApplicationOperatio
ns.exportBar(DefaultAnalyticApplicationOperations.java:171)
at oracle.bi.servicelcm_v2.domain.application.AnalyticApplicationCustomi
sation.exportBAR(AnalyticApplicationCustomisation.java:115)
at oracle.bi.servicelcm.cli_v2.ExportServiceInstanceAction.run(ExportSer
viceInstanceAction.java:88)
at oracle.bi.servicelcm.cli_v2.LcmCli.main(LcmCli.java:24)
Caused by: java.nio.file.FileAlreadyExistsException:
\TMP
at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:343)
at sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.j
ava:287)
at java.nio.file.Files.move(Files.java:1395)
at oracle.bi.servicelcm_v2.internal.bar.BarImportExport.exportBar(BarImp
ortExport.java:91)
at oracle.bi.servicelcm_v2.operations.DefaultAnalyticApplicationOperatio
ns.exportBar(DefaultAnalyticApplicationOperations.java:160)
... 3 more
"
The
\TMP folder is completely empty, but still I am getting error that the file exists.
Please suggest.
Also, while running this command, it is prompting me for RPD Password. How can I automate this process as I am trying to create a automated backup script to be executed daily?
Please help me with above 2 questions.
Many Thanks in advance.