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)
birt runtime cant start
dzish
Hi,<br />
<br />
I use BIRT runtime for tests of my reports. It's ok with runtime 2.5.1 . But When I upgraded to runtime 2.6.2 it shows me exception:<br />
<br />
java.lang.RuntimeException: BIRT didn't start at com.mybirt.BirtGlobalCampaignReportTest.setUp(BirtGlobalCampaignReportTest.java:66) Caused by: org.eclipse.birt.core.exception.BirtException: Cant startup the OSGI framework at org.eclipse.birt.core.framework.Platform.startup(Platform.java:91) at com.mybirt.BirtGlobalCampaignReportTest.setUp(BirtGlobalCampaignReportTest.java:63) ... 31 more 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) ... 32 more<br />
<br />
<br />
I have code<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>EngineConfig config = new EngineConfig();
String birtHome = "/home/birt/birt-runtime-2_6_2/ReportEngine";
config.setBIRTHome(birtHome);
config.setEngineHome(birtHome);
config.setResourcePath(WORKSPACE_PATH + "src/main/webapp/WEB-INF/report/resource");
config.setLogConfig("/tmp", Level.FINE);
// Start the platform for a non-RCP application.
try {
Platform.startup(config);
} catch (BirtException e) {
throw new RuntimeException("BIRT didn't start", e);
}</pre>
<br />
I looked at directory "/home/birt/birt-runtime-2_6_2/ReportEngine/configuration" and there is only one file "config.ini", no folders. Is it correct?
Find more posts tagged with
Comments
JasonW
When you updated did you update the libs from the 2.6.2 runtime?
Jason
dzish
<blockquote class='ipsBlockquote' data-author="'JasonW'" data-cid="74716" data-time="1300283553" data-date="16 March 2011 - 06:52 AM"><p>
When you updated did you update the libs from the 2.6.2 runtime?<br />
<br />
Jason<br /></p></blockquote>
<br />
Thank you for response.<br />
<br />
I gave up the version fo BIRT. The main reason is hude memory leak. So I didn't work on 2.6.2 version any more. I hope the next main version will be better. <a class='bbc_url' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=348845'>bugzilla</a>
.