Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
chart render problem
purushdk
Hi,
I am using blow environment for develop reports
Windows 2003
Birt2.5.1 all in one
tomcat 5.5.26
jdk1.6
i have developed some reports its working fine
i have developed chart its working in preview, but when i try to access trough my web application am getting below error.
please provide solution its very urgent .
org.eclipse.birt.report.engine.api.EngineException: CREATE_EXTENSION_FAIL
at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1163)
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$QueryBuilderVisitor.visitExtendedItem(ReportQueryBuilder.java:693)
at org.eclipse.birt.report.engine.ir.ExtendedItemDesign.accept(ExtendedItemDesign.java:45)
at
Caused by: org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL
at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:1186)
at org.eclipse.birt.chart.util.PluginSettings.getAggregateFunction(PluginSettings.java:708)
at org.eclipse.birt.chart.reportitem.ChartReportItemQueryImpl.createQuery(ChartReportItemQueryImpl.java:153)
Caused by: org.eclipse.birt.core.framework.FrameworkException: CREATE_EXTENSION_FAIL
at org.eclipse.birt.core.framework.eclipse.EclipseConfigurationElement.createExecutableExtension(EclipseConfigurationElement.java:39)
at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObject(PluginSettings.java:1182)
... 71 more
Caused by: org.eclipse.core.runtime.CoreException: Plug-in org.eclipse.birt.chart.engine.extension was unable to load class org.eclipse.birt.chart.extension.aggregate.Sum.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:162)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.birt.chart.engine.extension (89).
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:125)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
Caused by: org.osgi.framework.BundleException: The activator org.eclipse.birt.chart.plugin.ChartEngineExtensionPlugin for bundle org.eclipse.birt.chart.engine.extension is invalid
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:157)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:751)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
... 88 more
Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/Plugin
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
org.eclipse.birt.core.framework.osgi.OSGILauncher$ChildFirstURLClassLoader.loadClass(OSGILauncher.java:688)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.SystemBundleLoader.findLocalClass(SystemBundleLoader.java:115)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
at org.eclipse.osgi.internal.loader.MultiSourcePackage.loadClass(MultiSourcePackage.java:31)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at
Find more posts tagged with
Comments
JasonW
How are you deploying BIRT?
Jason
purushdk
Hi,
i am running through both application using eclipse.
Thanks & Regards,
k.purushothaman
JasonW
Are you deploying the viewer to tomcat? The error you are getting indicates that chart plugins are not being located.
JasonW
Also what is your build path? Are you starting the BIRT engine or doing stand alone Chart?
Jason
purushdk
Hi,
Am creating war file from eclipse and deploying under tomcat.
i have copied all the plugins from web viewer example.
Regards,
k.purushothaman
JasonW
What libs do you have in the WEB-INF/lib directory?
Jason
purushdk
Hi,
I have following lib files in my web-inf lib
chart-viewer.jar
chartengineapi.jar
chartitemapi.jar
coreapi.jar
com.ibm.icu_4.0.1.v20090822.jar
dataadapterapi.jar
dataaggregationapi.jar
dataextraction.jar
engineapi.jar
dteapi.jar
modelapi.jar
org.eclipse.birt.chart.device.extension_2.5.1.v20090902.jar
org.eclipse.birt.chart.device.pdf_2.5.1.v20090625.jar
org.eclipse.birt.chart.device.svg_2.5.1.v20090902.jar
org.eclipse.birt.chart.engine_2.5.1.v20090902.jar
org.eclipse.birt.chart.engine.extension_2.5.1.v20090826.jar
org.eclipse.birt.core_2.5.1.v20090903.jar
viewservlets.jar
please provide details, its very urgent.
Thanks & Regards,
k.purushothaman
JasonW
You have the wrong libs in the lib directory. Take a look at this wiki page:<br />
<a class='bbc_url' href='
http://wiki.eclipse.org/Servlet_Example_(BIRT)_2.1'>Servlet
Example (BIRT) 2.1 - Eclipsepedia</a><br />
<br />
Jason