Standalone vs webapp

Options
Bala
edited February 11, 2022 in Analytics #1
All,

I want to generate reports in web application but I dont want to use platform directory part of web project. It is kind of standalone application running web container.

I am setting engine home dynamically thru property file which is working fine in windows tomcat environment but the same thing is not working in server (tomcat) server.

IReportEngineFactory factory = (IReportEngineFactory)
Platform.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);

Here Platform.createFactoryObject method returning null in server environment, due to this I am getting null pointer exception.


Thanks & Regards,
Bala Labhishetty