Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Upgrade BIRT 2.3.2 to BIRT2.6
Upgrade BIRT 2.3.2 to BIRT2.6 [message #547757] Mon, 19 July 2010 10:45 Go to next message
shammad  is currently offline shammad
Messages: 2
Registered: July 2010
Junior Member
Hi all,

I have a problem when I tried to update my java application to using BIRT2.6 (NOT WEB)

I replaced the following directory for BIRT :
1- lib
2- plugins
3- configuration

but when I tried to create the engine I faced the following exception:
java.lang.NoSuchMethodError: org.eclipse.birt.report.engine.api.EngineConfig.getLogRollin gSize()

and this is the code which I used to create the engine :

EngineConfig config = new EngineConfig();
config.setEngineHome(home);//the location of the engine plug-ins and jar files
config.setLogConfig(home+"/BIRT_log", Level.ALL); //use null if you do not want a log file
Platform.startup( config );
IReportEngineFactory factory = (IReportEngineFactory) Platform.createFactoryObject(IReportEngineFactory.EXTENSION_ REPORT_ENGINE_FACTORY);
engine = factory.createReportEngine( config ); //here the error happened

please advice,
thanks in advance

Saed
Re: Upgrade BIRT 2.3.2 to BIRT2.6 [message #547785 is a reply to message #547757] Mon, 19 July 2010 11:40 Go to previous messageGo to next message
Katerina  is currently offline Katerina
Messages: 4
Registered: January 2010
Junior Member
Hi Saed,

had you included any of the BIRT 2.3.2 .jar files in your application before? You will have to update those too.

Katerina
Re: Upgrade BIRT 2.3.2 to BIRT2.6 [message #547923 is a reply to message #547757] Tue, 20 July 2010 04:11 Go to previous message
shammad  is currently offline shammad
Messages: 2
Registered: July 2010
Junior Member
Hi,

Yes I replace all BIRT2.3.2 jars with BIRT 2.6 jars,
please advice

thanks,
Saed
Previous Topic:http 401 error (xml data source) with viewer deployed in tomcat
Next Topic:Filtering a aggregation: CONCATENATE
Goto Forum:
  


Current Time: Sun Apr 20 19:36:13 EDT 2014

Powered by FUDForum. Page generated in 0.02044 seconds