Project: Birt
Bug 208552 Cant startup the OSGI framework under Websphere Community Edition 2.0
Reported: 2007-11-02 08:35:16 | Status: resolved fixed

OS:AIX5.3 Java 1.5 J2EE server: WAS CE 2.0(Apache Geronimo). I have successfully deployed birt.war, but when trying to open test report in browser it gives "Cant startup the OSGI framework" message. Log contains following stack trace: org.eclipse.birt.core.exception.BirtException: Cant startup the OSGI framework at org.eclipse.birt.core.framework.Platform.startup(Platform.java:90) at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(Unknown Source) at org.eclipse.birt.report.service.BirtViewerReportService.setContext(Unknown Source) at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(Unknown Source) at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.eclipse.birt.report.filter.ViewerFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56) at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:351) at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:801) Caused by: org.eclipse.birt.core.exception.BirtException: Can not start up OSGI - null at org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OSGILauncher.java:169) at org.eclipse.birt.core.framework.Platform.startup(Platform.java:78) ... 26 more

Files changed in fix:
core/org.eclipse.birt.core/src/org/eclipse/birt/core/framework/osgi/OSGILauncher.java