Hi,
I am trying out spring and birt integration example from springsource.org (see the url below) . I am using spring 3.1.1 and birt 3.7.2.
The example works on tomcat 6.0.35 but I need to running on WAS 6.1.
Here is how the engine is started up
public IReportEngine getObject() {
final EngineConfig config = new EngineConfig();
//This line injects the Spring Context into the BIRT Context
config.getAppContext().put("spring", this.context );
config.setBIRTHome("");
config.setLogConfig( null != this._resolvedDirectory ? this._resolvedDirectory.getAbsolutePath() : null , this.logLevel);
try {
Platform.startup( config );
}
catch ( BirtException e ) {
throw new RuntimeException ( "Could not start the Birt engine!", e) ;
}
IReportEngineFactory factory = (IReportEngineFactory) Platform.createFactoryObject( IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );
IReportEngine engine = factory.createReportEngine( config );
engine.changeLogLevel(Level.FINEST);
this.birtEngine = engine ;
return engine;
}
If I run it on WAS 6.1 I get there errors on the attached file (errorLog.txt).
The details of the example can be found at Quote:( www.springsource.org/BusinessIntelligenceWithSpringAndBIRT )
Any help will be appreciated...