|OSGI platform failing to start [message #693390]
||Wed, 06 July 2011 11:28
|vrush Mising name
Registered: July 2009
I'm creating a swt/jface viewer to display BIRT graphs. I could do it with a browser RCP but still struggling for viewer as I need an instance of chart but OSGI platform is failing to start.
Here is a code snippet,
IReportEngine engine = null;
EngineConfig config = null;
// Configure the Engine and start the Platform
config = new EngineConfig();
// set log config using ( null, Level ) if you do not want a log file
//start birt platform and create factories
Leading to errors,
Please provide some pointers or if any help docs.
Thanks in advance,
|Re: OSGI platform failing to start [message #695319 is a reply to message #694586]
||Mon, 11 July 2011 13:47
| Robson R Ferreira
Registered: July 2011
I checked the libs the app .. removed some old libs that were still in the project, but still
continues with the same error!
I Debugs the source code and the error occurs at this point:
09:32:08,710 ERROR [STDERR] org.eclipse.birt.core.exception.BirtException: Cant startup the OSGI framework
09:32:08,713 ERROR [STDERR] at org.eclipse.birt.core.framework.Platform.startup(Platform.java:90)
09:32:08,715 ERROR [STDERR] at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(ReportEngineService.java:328)
09:32:08,716 ERROR [STDERR] at org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1022)
09:32:08,717 ERROR [STDERR] at org.eclipse.birt.report.listener.ViewerServletContextListener.contextInitialized(ViewerServletContextListener.java:62)
09:32:08,790 ERROR [STDERR] Caused by: org.eclipse.birt.core.exception.BirtException: Could not start the Framework - C:\jboss-4.2.2.GA\server\default\.\deploy\jdoctor.ear\jdoctor_web.war\WEB-INF\platformC:\jboss-4.2.2.GA\server\default\.\deploy\jdoctor.ear\jdoctor_web.war\WEB-INF\platform
09:32:08,791 ERROR [STDERR] at org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OSGILauncher.java:87)
09:32:08,791 ERROR [STDERR] at org.eclipse.birt.core.framework.Platform.startup(Platform.java:78)
Do you have any idea what might be?
|Re: OSGI platform failing to start [message #782361 is a reply to message #694484]
||Mon, 23 January 2012 15:45
| Zbynek Sykora
Registered: January 2012
I am on migration my app. from BIRT 2.5.2 to 3.7.1. My application uses BIRT for creation PDFs, so i followed the mirgation instructions and put all the libs from ReportEngine/lib to my WEB-INF/lib. The app. worked fine on Tomcat 6 and 7 but on Websphere 126.96.36.199 on Fedora 16 i have get the exception:
at org.eclipse.birt.core.framework.Platform.startup(Platform.java:81) "
you have wrote:
>...If you use the pojo
>runtime, make sure all the libs in the reportengine/lib directory are in
>your build path.
does it mean that that it is necesary to have all the libs from re/lib im my build path during the compilation? I compile my app. with maven and for the compilation i use only three artifacts from BIRT re/lib directory:
Powered by FUDForum
. Page generated in 0.02405 seconds