Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Developing Analytics Applications
Problem starting up BIRT Platform
Migrateduser
<p>Hi.</p><p> </p><p>I'm currently making a web application using BIRT.</p><p> </p><p>It uses both Actuate Birt Viewer and generate daily reports using quartz and Birt Report Engine.</p><p> </p><p>I have a problem with my application. Here is the code i'm using : </p><pre class="_prettyXprint"> EngineConfig config = new EngineConfig(); config.setBIRTHome(ENGINE_PATH); System.out.println("Birt home : "+config.getBIRTHome()); Platform.startup(config); System.out.println("Plateforme démarrée"); IReportEngineFactory factory = (IReportEngineFactory) Platform .createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY); if (config!=null){System.out.println("Config non null");} if (factory!=null){System.out.println("factory non null : "+factory.toString());} engine = factory.createReportEngine(config); if (engine!=null){System.out.println("engine non null : "+engine.getVersion());} System.out.println("reportEngine crée");</pre><p>When i am trying to generate a daily report, i have the following error : </p><p> </p><blockquote class="ipsBlockquote"><p> </p><p>Grave: Job DEFAULT.TestJob threw an unhandled Exception: </p><div>java.lang.NoClassDefFoundError: org/eclipse/core/runtime/spi/IRegistryProvider</div><div>at org.eclipse.birt.core.framework.Platform.createPlatformLauncher(Platform.java:115)</div><div>at org.eclipse.birt.core.framework.Platform.startup(Platform.java:74)</div><div>at org.eclipse.birt.core.framework.Platform.startup(Platform.java:57)</div><div>at background.jobs.jobsMethods.genererRapport(jobsMethods.java:214)</div><div>at background.jobs.DailyUpdate.execute(DailyUpdate.java:55)</div><div>at org.quartz.core.JobRunShell.run(JobRunShell.java:202)</div><div>at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)</div><div>Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.spi.IRegistryProvider</div><div>at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)</div><div>at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)</div><div>... 7 more</div><div> </div><div>juil. 01, 2014 3:18:00 PM org.quartz.core.ErrorLogger schedulerError</div><div>Grave: Job (DEFAULT.TestJob threw an exception.</div><div>org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/spi/IRegistryProvider]</div><div>at org.quartz.core.JobRunShell.run(JobRunShell.java:213)</div><div>at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)</div><div>Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/spi/IRegistryProvider</div><div>at org.eclipse.birt.core.framework.Platform.createPlatformLauncher(Platform.java:115)</div><div>at org.eclipse.birt.core.framework.Platform.startup(Platform.java:74)</div><div>at org.eclipse.birt.core.framework.Platform.startup(Platform.java:57)</div><div>at background.jobs.jobsMethods.genererRapport(jobsMethods.java:214)</div><div>at background.jobs.DailyUpdate.execute(DailyUpdate.java:55)</div><div>at org.quartz.core.JobRunShell.run(JobRunShell.java:202)</div><div>... 1 more</div><div>Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.spi.IRegistryProvider</div><div>at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)</div><div>at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)</div><div>... 7 more</div></blockquote><p> </p><p>It seems like there is a library missing, but when i launch the Actuate Birt Viewer, this exception isn't thrown anymore.</p><p> </p><p>I try to understand what the Actuate Birt Viewer is doing that i'm not doing too..</p><p> </p><p>Can you help me?</p><p> </p><p>Thank you</p>
Find more posts tagged with
Comments
There are no comments yet