applyThreadPriority();
// this might be invalid in case the action is contained in a sub-directory.
final String baseName = IOUtils.getInstance().stripFileExtension( getActionName() );
final String path = getSolutionPath();
final PentahoResourceBundleFactory bundleFactory =
new PentahoResourceBundleFactory( path, baseName, getSession() );
report.setResourceBundleFactory( bundleFactory );
// set the default resourcebundle. This allows users to override the
// resource-bundle in case they want to keep common strings in a common
// collection.
report.getReportConfiguration().setConfigProperty( ResourceBundleFactory.DEFAULT_RESOURCE_BUNDLE_CONFIG_KEY,