standalone import tool
Answered
Hi,
I found import.properties in development/examples/standalone folder of installation which contain description on how to import YFExport.xml file using command line. I tried this feature to import simple export file containing only a data source.
I found also a wiki page about standalone tool in https://wiki.yellowfinbi.com/display/yfcurrent/Configuration+Modification+Tool which helps me on how to invoke the com.hof.standalone.ImportData, and managed to run with the following command:
java -cp 'webapps/ROOT/WEB-INF/lib/*:lib/*' com.hof.standalone.ImportData ../../import.properties ../../data-sources.xml
Unfortunately the import is not successful, an Exception is thrown.
Replacing ALL Content with the same name... Reading data file Replacing Source: ****** Importing data 21:29:29.464 [main] ERROR com.hof.mi.process.V4ImportProcess - [1] [Background] [STARTUP] Error: java.lang.IllegalStateException: bi.yellowfin.api.rest.auth.RESTUserCache has not been initialised. Call the initialise() method first. java.lang.IllegalStateException: bi.yellowfin.api.rest.auth.RESTUserCache has not been initialised. Call the initialise() method first. at com.hof.util.cache.ApplicationCache.getInstance(ApplicationCache.java:84) ~[i4-core.9.7 (20220602)] at bi.yellowfin.api.rest.auth.RESTUserCache.getInstance(RESTUserCache.java:66) ~[i4-mi.9.7 (20220602)] at com.hof.mi.process.V4ImportProcess.importAdminItems(V4ImportProcess.java:3365) [i4-mi.9.7 (20220602)] at com.hof.mi.process.MIReportExportImportProcessService.importAdminItems(MIReportExportImportProcessService.java:546) [i4-mi.9.7 (20220602)] at com.hof.standalone.ImportData.main(ImportData.java:246) [i4-core.9.7 (20220602)]
Could you help me how to successfully run the tool?
Hello Isaac,
It looks like this is a duplicate of a case I already have with you, so I will go ahead and close this one so that we don't replicate work. I will update you in the other case.
Regards,
David
Hello Isaac,
It looks like this is a duplicate of a case I already have with you, so I will go ahead and close this one so that we don't replicate work. I will update you in the other case.
Regards,
David
Replies have been locked on this page!