Community
Participate
Working Groups
The report engine running alone wants to write files to the ReportEngine directory, specifically the configuration directories. This is a problem because the users typically do not have permission to write to these directories as they could possibly cause problems. It writes out a log file indicating that it has problems !MESSAGE The -clean (osgi.clean) option was not successful. Unable to clean the storage area: K:\OBSS-Test\lib\ReportEngine\configuration\org.eclipse.osgi It also gives an error !MESSAGE Unable to save configuration file "K:\OBSS-Test\lib\ReportEngine\configuration\org.eclipse.update\platform.xml.tmp" Why is it doing this? Can it be stopped. I don't want to give the users write access to that directory.
User can specify a writable configuration folder for Report Engine, also should copy the config.ini file to the configuration folder. Sample Code: EngineConfig config = new EngineConfig( ); .... HashMap osgiProperties = new HashMap(); osgiProperties .put("osgi.configuration.area", configFolder); config.setOSGiConfig(map); Platform.startup( config );
Thanks. I didn't realize that one could do this. Moving forward this will be wonderful, and so simple a fix. Every time I upgraded the report engine I would have to go in and change the permissions. Now that is not necessary.
Verified.