Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
"Cant startup the OSGI framework" when running with Eclipse
jandersen
Hi, <br />
I'm using BIRT 3.7.1.<br />
I downloaded the Runtime package and am trying to get the sample viewer running in my Tomcat 7 app. So I copied just about everything into my project (everything from lib, content from web.xml, etc).<br />
<br />
When I launch my web app in Eclipse for debugging, at startup, I get "Cant startup the OSGI framework" (see below). However, if I just start up Tomcat by itself without going through Eclipse, all is well.<br />
<br />
Any ideas?<br />
<br />
Note: I am using the Sysdeo Tomcat Plugin for launching Tomcat within Eclipse.<br />
<br />
Thanks!!<br />
<br />
<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
org.eclipse.birt.core.exception.BirtException: Cant startup the OSGI framework
at org.eclipse.birt.core.framework.Platform.startup(Platform.java:91)
at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(ReportEngineService.java:328)
at org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1022)
at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServlet.java:148)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:151)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.birt.core.exception.CoreException
at org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OSGILauncher.java:90)
at org.eclipse.birt.core.framework.Platform.startup(Platform.java:79)
... 27 more
</pre>
Find more posts tagged with
Comments
JasonW
Do you have the birt plugins in the same Eclipse session? If so this may cause an issue do to the fact that 3.7 runtime is pojo based and the viewer plugin in the designer still uses OSGi.
Jason
jandersen
<blockquote class='ipsBlockquote' data-author="'JasonW'" data-cid="92198" data-time="1324337138" data-date="19 December 2011 - 04:25 PM"><p>
Do you have the birt plugins in the same Eclipse session? If so this may cause an issue do to the fact that 3.7 runtime is pojo based and the viewer plugin in the designer still uses OSGi.<br />
<br />
Jason<br /></p></blockquote>
<br />
Thank you for your response. The answer is no, I don't have any BIRT plugins installed in Eclipse at all. However, I guess there is one detail I forgot to mention. I am using Flash Builder 4.5. This is essentially just Eclipse with a bunch of pre-installed and configured Flash-related plugins.<br />
I did a file search on the FlashBuilder/Eclipse installation directory and there are some osgi-related jar files in there.<br />
<br />
I guess this could be the problem?
JasonW
I would not think that would be the problem. What eclipse download are you using? I will try to reproduce the issue.
Jason
jandersen
Hi Jason,
I am using Adobe Flash Builder 4.5 which is based on Eclipse Platform 3.6.1. That would be great if you are willing to download it (
https://www.adobe.com/cfusion/tdrc/index.cfm?product=flash_builder)
and try to reproduce the issue.
A few things to note:
It looks like Adobe has released Flash Builder 4.6 and that's their only trial download now. So it's not the exact same version I'm running.
I am going to try to reproduce it in different environments on my end as well.
Thanks for your help.