Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » setBIRTHome() issue with RC2
setBIRTHome() issue with RC2 [message #242961] Fri, 15 June 2007 13:38 Go to next message
Eclipse UserFriend
Originally posted by: Arthur1968.gmail.com

When I use the 2.2 RC2 Runtime to create a report and I set the BIRT_HOME
path to let's say "c:\runtime22rc2\reportengine" the engine crashes with
something like "Could not start OSG framework" and it mentiones the Birt
home as being "c:\runtime22rc2\reportenginec:\runtime22rc2\reportengine" No
wonder it cannot start the engine.

When I change the environment variable to the 2.2 M6 path
"c:\runtime22m6\reportengine" it works fine.

Ron
Re: setBIRTHome() issue with RC2 [message #243166 is a reply to message #242961] Mon, 18 June 2007 19:04 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Ron,

Can you post the code snippet. I am using code similar to this with RC2
and it works fine.

IReportEngine engine=null;
EngineConfig config = null;
try{

config = new EngineConfig( );

config.setBIRTHome("C:/birt/birt-runtime-2.2rc2/birt-runtime-2_2_0/ReportEngine ");
config.setLogConfig(null, Level.OFF);
Platform.startup( config );
IReportEngineFactory factory = (IReportEngineFactory) Platform
.createFactoryObject(
IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );
engine = factory.createReportEngine( config );
}catch( Exception ex){
ex.printStackTrace();
}

IReportRunnable design = null;
//Open the report design
design = engine.openReportDesign("Reports/customers.rptdesign");

IRunTask task = engine.createRunTask(design);

Jason

Arthur wrote:
> When I use the 2.2 RC2 Runtime to create a report and I set the BIRT_HOME
> path to let's say "c:\runtime22rc2\reportengine" the engine crashes with
> something like "Could not start OSG framework" and it mentiones the Birt
> home as being "c:\runtime22rc2\reportenginec:\runtime22rc2\reportengine" No
> wonder it cannot start the engine.
>
> When I change the environment variable to the 2.2 M6 path
> "c:\runtime22m6\reportengine" it works fine.
>
> Ron
>
>
Previous Topic:Different behavior when using "frameset" or "run" in WebViewer
Next Topic:Hiding elements for Excel format - not working in RC3
Goto Forum:
  


Current Time: Sat Dec 21 12:25:04 GMT 2024

Powered by FUDForum. Page generated in 0.04031 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top