Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » CREATE_EXTENSION_FAIL(Chart Engine Failure with BIRT 2.5.1 and JBOSS 4.2.3)
CREATE_EXTENSION_FAIL [message #496267] Mon, 09 November 2009 14:40 Go to next message
ulp  is currently offline ulp Friend
Messages: 2
Registered: November 2009
Junior Member
Hi,

I am Using BIRT 2.5.1 and JBOSS 4.2.3. I try to run a chart into my web application. I get the following stack trace, can anyone help me?

CREATE_EXTENSION_FAIL ( 2 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: CREATE_EXTENSION_FAIL
at org.eclipse.birt.report.engine.executor.ExecutionContext.add Exception(ExecutionContext.java:1163)
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$Q ueryBuilderVisitor.visitExtendedItem(ReportQueryBuilder.java :693)
at org.eclipse.birt.report.engine.ir.ExtendedItemDesign.accept( ExtendedItemDesign.java:45)
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.b uild(ReportQueryBuilder.java:256)
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$Q ueryBuilderVisitor.visitCell(ReportQueryBuilder.java:1240)
at org.eclipse.birt.report.engine.ir.CellDesign.accept(CellDesi gn.java:202)
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.b uild(ReportQueryBuilder.java:256)
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$Q ueryBuilderVisitor.visitRow(ReportQueryBuilder.java:1206)
at org.eclipse.birt.report.engine.ir.RowDesign.accept(RowDesign .java:108)
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.b uild(ReportQueryBuilder.java:256)
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$Q ueryBuilderVisitor.visitGridItem(ReportQueryBuilder.java:514 )
at org.eclipse.birt.report.engine.ir.GridItemDesign.accept(Grid ItemDesign.java:142)
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.b uild(ReportQueryBuilder.java:256)
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.b uild(ReportQueryBuilder.java:237)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.p repare(AbstractDataEngine.java:171)
at org.eclipse.birt.report.engine.executor.ReportExecutor.execu te(ReportExecutor.java:123)
at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe dReportExecutor.execute(WrappedReportExecutor.java:60)
at org.eclipse.birt.report.engine.internal.executor.dup.Suppres sDuplciateReportExecutor.execute(SuppressDuplciateReportExec utor.java:42)
at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe dReportExecutor.execute(WrappedReportExecutor.java:60)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:168)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:75)
at com.bbraun.spaceserver.cqi.service.impl.BirtServiceImpl.exec uteBirtReport(BirtServiceImpl.java:230)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:112)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(Inv ocationContextImpl.java:166)
at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInv ocationContext.java:44)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:56)
at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke( RollbackInterceptor.java:28)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(Biject ionInterceptor.java:77)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(Me thodContextInterceptor.java:44)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aro undInvoke(EntityManagerProxyInterceptor.java:29)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.persistence.HibernateSessionProxyInterceptor. aroundInvoke(HibernateSessionProxyInterceptor.java:30)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootIntercep tor.java:107)
at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke (SessionBeanInterceptor.java:50)
at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(Inv ocationContextImpl.java:118)
at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invok e(EJB3InterceptorsInterceptor.java:63)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.entity.TransactionScopedEntityManagerIntercep tor.invoke(TransactionScopedEntityManagerInterceptor.java:54 )
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOp erationsInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java :126)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterce ptor.java:195)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropa gationInterceptor.java:95)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke (StatelessInstanceInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke( AuthenticationInterceptor.java:77)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke (Ejb3AuthenticationInterceptor.java:110)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagati onInterceptor.java:46)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(A synchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(Stat elessContainer.java:240)
at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(Stat elessContainer.java:210)
at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(Stateles sLocalProxy.java:84)
at $Proxy180.executeBirtReport(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootI nvocationContext.java:32)
at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(Cli entSideInterceptor.java:76)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:56)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootIntercep tor.java:107)
at org.jboss.seam.intercept.ClientSideInterceptor.invoke(Client SideInterceptor.java:54)
at org.javassist.tmp.java.lang.Object_$$_javassist_seam_51.exec uteBirtReport(Object_$$_javassist_seam_51.java)
at com.bbraun.spaceserver.cqi.service.impl.CqiServiceImpl.execu teReport(CqiServiceImpl.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:112)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(Inv ocationContextImpl.java:166)
at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInv ocationContext.java:44)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:56)
at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke( RollbackInterceptor.java:28)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(Biject ionInterceptor.java:77)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(Me thodContextInterceptor.java:44)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aro undInvoke(EntityManagerProxyInterceptor.java:29)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.persistence.HibernateSessionProxyInterceptor. aroundInvoke(HibernateSessionProxyInterceptor.java:30)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootIntercep tor.java:107)
at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke (SessionBeanInterceptor.java:50)
at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(Inv ocationContextImpl.java:118)
at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invok e(EJB3InterceptorsInterceptor.java:63)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.entity.TransactionScopedEntityManagerIntercep tor.invoke(TransactionScopedEntityManagerInterceptor.java:54 )
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOp erationsInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java :126)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterce ptor.java:195)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropa gationInterceptor.java:95)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke (StatelessInstanceInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke( AuthenticationInterceptor.java:77)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke (Ejb3AuthenticationInterceptor.java:110)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagati onInterceptor.java:46)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(A synchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn vocation.java:101)
at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(Stat elessContainer.java:240)
at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(Stat elessContainer.java:210)
at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(Stateles sLocalProxy.java:84)
at $Proxy183.executeReport(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootI nvocationContext.java:32)
at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(Cli entSideInterceptor.java:76)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:56)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootIntercep tor.java:107)
at org.jboss.seam.intercept.ClientSideInterceptor.invoke(Client SideInterceptor.java:54)
at org.javassist.tmp.java.lang.Object_$$_javassist_seam_41.exec uteReport(Object_$$_javassist_seam_41.java)
at com.bbraun.spaceserver.cqi.action.CqiAction.executeReport(Cq iAction.java:339)
at com.bbraun.spaceserver.cqi.action.CqiAction.exportReport(Cqi Action.java:282)
at com.bbraun.spaceserver.cqi.action.CqiAction.createReport(Cqi Action.java:251)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootI nvocationContext.java:32)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:56)
at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke( RollbackInterceptor.java:28)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(Biject ionInterceptor.java:77)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(Con versationInterceptor.java:65)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(Me thodContextInterceptor.java:44)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI nvocationContext.java:68)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootIntercep tor.java:107)
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvoca tion(JavaBeanInterceptor.java:185)
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBean Interceptor.java:103)
at com.bbraun.spaceserver.cqi.action.CqiAction_$$_javassist_sea m_40.createReport(CqiAction_$$_javassist_seam_40.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil .java:335)
at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil .java:280)
at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix .java:59)
at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.j ava:65)
at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImp l.java:276)
at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpr ession.java:68)
at javax.faces.component.MethodBindingMethodExpressionAdapter.i nvoke(MethodBindingMethodExpressionAdapter.java:88)
at com.sun.faces.application.ActionListenerImpl.processAction(A ctionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:387 )
at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRo ot.java:321)
at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxView Root.java:296)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoo t.java:253)
at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxV iewRoot.java:466)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Invok eApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl. java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:26 5)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S eamFilter.java:83)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.ja va:40)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S eamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter. java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S eamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter. java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S eamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.ja va:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S eamFilter.java:69)
at org.jboss.seam.web.CharacterEncodingFilter.doFilter(Characte rEncodingFilter.java:42)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S eamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter. java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java :290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleReques t(BaseFilter.java:368)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.ja va:56)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S eamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java :60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S eamFilter.java:69)
at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter. java:53)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S eamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:1 58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl yHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invok e(SecurityAssociationValve.java:182)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A uthenticatorBase.java:432)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo ntextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invok e(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin t.java:446)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.eclipse.birt.chart.exception.ChartException: CREATE_EXTENSION_FAIL
at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginSettings.java:1186)
at org.eclipse.birt.chart.util.PluginSettings.getAggregateFunct ion(PluginSettings.java:708)
at org.eclipse.birt.chart.reportitem.api.ChartItemUtil.isSetRun ningAggregation(ChartItemUtil.java:563)
at org.eclipse.birt.chart.reportitem.AbstractChartBaseQueryGene rator.initCategoryGrouping(AbstractChartBaseQueryGenerator.j ava:526)
at org.eclipse.birt.chart.reportitem.AbstractChartBaseQueryGene rator.generateExtraBindings(AbstractChartBaseQueryGenerator. java:321)
at org.eclipse.birt.chart.reportitem.ChartBaseQueryHelper.creat eBaseQuery(ChartBaseQueryHelper.java:110)
at org.eclipse.birt.chart.reportitem.ChartReportItemQueryImpl.c reateQuery(ChartReportItemQueryImpl.java:153)
at org.eclipse.birt.chart.reportitem.ChartReportItemQueryImpl.c reateReportQueries(ChartReportItemQueryImpl.java:100)
at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$Q ueryBuilderVisitor.visitExtendedItem(ReportQueryBuilder.java :689)
... 226 more
Caused by: org.eclipse.birt.core.framework.FrameworkException: CREATE_EXTENSION_FAIL
at org.eclipse.birt.core.framework.eclipse.EclipseConfiguration Element.createExecutableExtension(EclipseConfigurationElemen t.java:39)
at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginSettings.java:1182)
... 234 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.createE xecutableExtension(ExtensionRegistry.java:874)
at org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.birt.core.framework.eclipse.EclipseConfiguration Element.createExecutableExtension(EclipseConfigurationElemen t.java:35)
... 235 more
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.birt.chart.engine.extension (29).
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:326)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1193)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
... 239 more
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.load BundleActivator(AbstractBundle.java:157)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:751)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
... 251 more
Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/Plugin
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoade r.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally( RepositoryClassLoader.java:690)
at org.jboss.mx.loading.RepositoryClassLoader.findClass(Reposit oryClassLoader.java:670)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally( RepositoryClassLoader.java:200)
at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLo adingTask.java:131)
at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(Rep ositoryClassLoader.java:527)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(Reposit oryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.eclipse.birt.core.framework.osgi.OSGILauncher$ChildFirst URLClassLoader.loadClass(OSGILauncher.java:688)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.eclipse.osgi.internal.loader.SystemBundleLoader.findLoca lClass(SystemBundleLoader.java:115)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadCla ss(SingleSourcePackage.java:33)
at org.eclipse.osgi.internal.loader.MultiSourcePackage.loadClas s(MultiSourcePackage.java:31)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:454)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund leLoader.java:326)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:231)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:150)
... 256 more
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.eclipse.core.runtime.Plugin
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:30 6)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(Rep ositoryClassLoader.java:521)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(Reposit oryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
Re: CREATE_EXTENSION_FAIL [message #496604 is a reply to message #496267] Tue, 10 November 2009 16:18 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

How do you have BIRT deployed?

Jason

ulp wrote:
> Hi,
>
> I am Using BIRT 2.5.1 and JBOSS 4.2.3. I try to run a chart into my web
> application. I get the following stack trace, can anyone help me?
>
> CREATE_EXTENSION_FAIL ( 2 time(s) )
> detail : org.eclipse.birt.report.engine.api.EngineException:
> CREATE_EXTENSION_FAIL
> at org.eclipse.birt.report.engine.executor.ExecutionContext.add
> Exception(ExecutionContext.java:1163)
> at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$Q
> ueryBuilderVisitor.visitExtendedItem(ReportQueryBuilder.java :693)
> at org.eclipse.birt.report.engine.ir.ExtendedItemDesign.accept(
> ExtendedItemDesign.java:45)
> at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.b
> uild(ReportQueryBuilder.java:256)
> at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$Q
> ueryBuilderVisitor.visitCell(ReportQueryBuilder.java:1240)
> at org.eclipse.birt.report.engine.ir.CellDesign.accept(CellDesi
> gn.java:202)
> at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.b
> uild(ReportQueryBuilder.java:256)
> at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$Q
> ueryBuilderVisitor.visitRow(ReportQueryBuilder.java:1206)
> at org.eclipse.birt.report.engine.ir.RowDesign.accept(RowDesign
> .java:108)
> at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.b
> uild(ReportQueryBuilder.java:256)
> at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$Q
> ueryBuilderVisitor.visitGridItem(ReportQueryBuilder.java:514 )
> at org.eclipse.birt.report.engine.ir.GridItemDesign.accept(Grid
> ItemDesign.java:142)
> at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.b
> uild(ReportQueryBuilder.java:256)
> at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder.b
> uild(ReportQueryBuilder.java:237)
> at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.p
> repare(AbstractDataEngine.java:171)
> at org.eclipse.birt.report.engine.executor.ReportExecutor.execu
> te(ReportExecutor.java:123)
> at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe
> dReportExecutor.execute(WrappedReportExecutor.java:60)
> at org.eclipse.birt.report.engine.internal.executor.dup.Suppres
> sDuplciateReportExecutor.execute(SuppressDuplciateReportExec utor.java:42)
> at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe
> dReportExecutor.execute(WrappedReportExecutor.java:60)
> at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR
> un(RunAndRenderTask.java:168)
> at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run
> (RunAndRenderTask.java:75)
> at com.bbraun.spaceserver.cqi.service.impl.BirtServiceImpl.exec
> uteBirtReport(BirtServiceImpl.java:230)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:112)
> at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(Inv
> ocationContextImpl.java:166)
> at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInv
> ocationContext.java:44)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:56)
> at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(
> RollbackInterceptor.java:28)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(Biject
> ionInterceptor.java:77)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(Me
> thodContextInterceptor.java:44)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aro
> undInvoke(EntityManagerProxyInterceptor.java:29)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.
> aroundInvoke(HibernateSessionProxyInterceptor.java:30)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.intercept.RootInterceptor.invoke(RootIntercep
> tor.java:107)
> at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke
> (SessionBeanInterceptor.java:50)
> at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(Inv
> ocationContextImpl.java:118)
> at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invok
> e(EJB3InterceptorsInterceptor.java:63)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.entity.TransactionScopedEntityManagerIntercep
> tor.invoke(TransactionScopedEntityManagerInterceptor.java:54 )
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOp
> erationsInterceptor.java:47)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java :126)
> at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterce
> ptor.java:195)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropa
> gationInterceptor.java:95)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke
> (StatelessInstanceInterceptor.java:62)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.aspects.security.AuthenticationInterceptor.invoke(
> AuthenticationInterceptor.java:77)
> at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke
> (Ejb3AuthenticationInterceptor.java:110)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagati
> onInterceptor.java:46)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(A
> synchronousInterceptor.java:106)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(Stat
> elessContainer.java:240)
> at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(Stat
> elessContainer.java:210)
> at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(Stateles
> sLocalProxy.java:84)
> at $Proxy180.executeBirtReport(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at org.jboss.seam.intercept.RootInvocationContext.proceed(RootI
> nvocationContext.java:32)
> at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(Cli
> entSideInterceptor.java:76)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:56)
> at org.jboss.seam.intercept.RootInterceptor.invoke(RootIntercep
> tor.java:107)
> at org.jboss.seam.intercept.ClientSideInterceptor.invoke(Client
> SideInterceptor.java:54)
> at org.javassist.tmp.java.lang.Object_$$_javassist_seam_51.exec
> uteBirtReport(Object_$$_javassist_seam_51.java)
> at com.bbraun.spaceserver.cqi.service.impl.CqiServiceImpl.execu
> teReport(CqiServiceImpl.java:117)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:112)
> at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(Inv
> ocationContextImpl.java:166)
> at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInv
> ocationContext.java:44)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:56)
> at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(
> RollbackInterceptor.java:28)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(Biject
> ionInterceptor.java:77)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(Me
> thodContextInterceptor.java:44)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aro
> undInvoke(EntityManagerProxyInterceptor.java:29)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.
> aroundInvoke(HibernateSessionProxyInterceptor.java:30)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.intercept.RootInterceptor.invoke(RootIntercep
> tor.java:107)
> at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke
> (SessionBeanInterceptor.java:50)
> at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(Inv
> ocationContextImpl.java:118)
> at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invok
> e(EJB3InterceptorsInterceptor.java:63)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.entity.TransactionScopedEntityManagerIntercep
> tor.invoke(TransactionScopedEntityManagerInterceptor.java:54 )
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOp
> erationsInterceptor.java:47)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java :126)
> at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterce
> ptor.java:195)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropa
> gationInterceptor.java:95)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke
> (StatelessInstanceInterceptor.java:62)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.aspects.security.AuthenticationInterceptor.invoke(
> AuthenticationInterceptor.java:77)
> at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke
> (Ejb3AuthenticationInterceptor.java:110)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagati
> onInterceptor.java:46)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(A
> synchronousInterceptor.java:106)
> at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodIn
> vocation.java:101)
> at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(Stat
> elessContainer.java:240)
> at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(Stat
> elessContainer.java:210)
> at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(Stateles
> sLocalProxy.java:84)
> at $Proxy183.executeReport(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at org.jboss.seam.intercept.RootInvocationContext.proceed(RootI
> nvocationContext.java:32)
> at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(Cli
> entSideInterceptor.java:76)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:56)
> at org.jboss.seam.intercept.RootInterceptor.invoke(RootIntercep
> tor.java:107)
> at org.jboss.seam.intercept.ClientSideInterceptor.invoke(Client
> SideInterceptor.java:54)
> at org.javassist.tmp.java.lang.Object_$$_javassist_seam_41.exec
> uteReport(Object_$$_javassist_seam_41.java)
> at com.bbraun.spaceserver.cqi.action.CqiAction.executeReport(Cq
> iAction.java:339)
> at com.bbraun.spaceserver.cqi.action.CqiAction.exportReport(Cqi
> Action.java:282)
> at com.bbraun.spaceserver.cqi.action.CqiAction.createReport(Cqi
> Action.java:251)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
> at org.jboss.seam.intercept.RootInvocationContext.proceed(RootI
> nvocationContext.java:32)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:56)
> at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(
> RollbackInterceptor.java:28)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(Biject
> ionInterceptor.java:77)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(Con
> versationInterceptor.java:65)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(Me
> thodContextInterceptor.java:44)
> at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamI
> nvocationContext.java:68)
> at org.jboss.seam.intercept.RootInterceptor.invoke(RootIntercep
> tor.java:107)
> at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvoca
> tion(JavaBeanInterceptor.java:185)
> at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBean
> Interceptor.java:103)
> at com.bbraun.spaceserver.cqi.action.CqiAction_$$_javassist_sea
> m_40.createReport(CqiAction_$$_javassist_seam_40.java)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil
> .java:335)
> at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil
> .java:280)
> at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix
> .java:59)
> at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.j
> ava:65)
> at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
> at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImp
> l.java:276)
> at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpr
> ession.java:68)
> at javax.faces.component.MethodBindingMethodExpressionAdapter.i
> nvoke(MethodBindingMethodExpressionAdapter.java:88)
> at com.sun.faces.application.ActionListenerImpl.processAction(A
> ctionListenerImpl.java:102)
> at javax.faces.component.UICommand.broadcast(UICommand.java:387 )
> at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRo
> ot.java:321)
> at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxView
> Root.java:296)
> at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoo
> t.java:253)
> at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxV
> iewRoot.java:466)
> at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Invok
> eApplicationPhase.java:82)
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.
> java:118)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:26 5)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S
> eamFilter.java:83)
> at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.ja va:40)
> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S
> eamFilter.java:69)
> at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.
> java:90)
> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S
> eamFilter.java:69)
> at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.
> java:64)
> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S
> eamFilter.java:69)
> at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.ja va:45)
> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S
> eamFilter.java:69)
> at org.jboss.seam.web.CharacterEncodingFilter.doFilter(Characte
> rEncodingFilter.java:42)
> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S
> eamFilter.java:69)
> at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.
> java:178)
> at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java :290)
> at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleReques
> t(BaseFilter.java:368)
> at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
> at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.ja va:56)
> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S
> eamFilter.java:69)
> at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java :60)
> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S
> eamFilter.java:69)
> at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.
> java:53)
> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(S
> eamFilter.java:69)
> at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:1 58)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Repl
> yHeaderFilter.java:96)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
> licationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
> dWrapperValve.java:230)
> at org.apache.catalina.core.StandardContextValve.invoke(Standar
> dContextValve.java:175)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invok
> e(SecurityAssociationValve.java:182)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
> uthenticatorBase.java:432)
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccCo
> ntextValve.java:84)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
> stValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
> rtValve.java:102)
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invok
> e(CachedConnectionValve.java:157)
> at org.apache.catalina.core.StandardEngineValve.invoke(Standard
> EngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
> apter.java:262)
> at org.apache.coyote.http11.Http11Processor.process(Http11Proce
> ssor.java:844)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand
> ler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin
> t.java:446)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: org.eclipse.birt.chart.exception.ChartException:
> CREATE_EXTENSION_FAIL
> at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec
> t(PluginSettings.java:1186)
> at org.eclipse.birt.chart.util.PluginSettings.getAggregateFunct
> ion(PluginSettings.java:708)
> at org.eclipse.birt.chart.reportitem.api.ChartItemUtil.isSetRun
> ningAggregation(ChartItemUtil.java:563)
> at org.eclipse.birt.chart.reportitem.AbstractChartBaseQueryGene
> rator.initCategoryGrouping(AbstractChartBaseQueryGenerator.j ava:526)
> at org.eclipse.birt.chart.reportitem.AbstractChartBaseQueryGene
> rator.generateExtraBindings(AbstractChartBaseQueryGenerator. java:321)
> at org.eclipse.birt.chart.reportitem.ChartBaseQueryHelper.creat
> eBaseQuery(ChartBaseQueryHelper.java:110)
> at org.eclipse.birt.chart.reportitem.ChartReportItemQueryImpl.c
> reateQuery(ChartReportItemQueryImpl.java:153)
> at org.eclipse.birt.chart.reportitem.ChartReportItemQueryImpl.c
> reateReportQueries(ChartReportItemQueryImpl.java:100)
> at org.eclipse.birt.report.engine.data.dte.ReportQueryBuilder$Q
> ueryBuilderVisitor.visitExtendedItem(ReportQueryBuilder.java :689)
> ... 226 more
> Caused by: org.eclipse.birt.core.framework.FrameworkException:
> CREATE_EXTENSION_FAIL
> at org.eclipse.birt.core.framework.eclipse.EclipseConfiguration
> Element.createExecutableExtension(EclipseConfigurationElemen t.java:39)
> at org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec
> t(PluginSettings.java:1182)
> ... 234 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.createE
> xecutableExtension(ExtensionRegistry.java:874)
> at org.eclipse.core.internal.registry.ConfigurationElement.crea
> teExecutableExtension(ConfigurationElement.java:243)
> at org.eclipse.core.internal.registry.ConfigurationElementHandl
> e.createExecutableExtension(ConfigurationElementHandle.java: 51)
> at org.eclipse.birt.core.framework.eclipse.EclipseConfiguration
> Element.createExecutableExtension(EclipseConfigurationElemen t.java:35)
> ... 235 more
> Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> $TerminatingClassNotFoundException: An error occurred while
> automatically activating bundle org.eclipse.birt.chart.engine.extension
> (29).
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:125)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:449)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:211)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:381)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:457)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:398)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:105)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:326)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:231)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> Class(AbstractBundle.java:1193)
> at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI
> .createExecutableExtension(RegistryStrategyOSGI.java:160)
> ... 239 more
> 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.load
> BundleActivator(AbstractBundle.java:157)
> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s
> tart(BundleContextImpl.java:751)
> at org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:352)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:280)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:408)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:111)
> ... 251 more
> Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/Plugin
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
> at java.security.SecureClassLoader.defineClass(SecureClassLoade
> r.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(
> RepositoryClassLoader.java:690)
> at org.jboss.mx.loading.RepositoryClassLoader.findClass(Reposit
> oryClassLoader.java:670)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(
> RepositoryClassLoader.java:200)
> at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLo
> adingTask.java:131)
> at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
> at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(Rep
> ositoryClassLoader.java:527)
> at org.jboss.mx.loading.RepositoryClassLoader.loadClass(Reposit
> oryClassLoader.java:415)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at org.eclipse.birt.core.framework.osgi.OSGILauncher$ChildFirst
> URLClassLoader.loadClass(OSGILauncher.java:688)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at org.eclipse.osgi.internal.loader.SystemBundleLoader.findLoca
> lClass(SystemBundleLoader.java:115)
> at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadCla
> ss(SingleSourcePackage.java:33)
> at org.eclipse.osgi.internal.loader.MultiSourcePackage.loadClas
> s(MultiSourcePackage.java:31)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:454)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:398)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:105)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(Bund
> leLoader.java:326)
> at org.eclipse.osgi.framework.internal.core.BundleHost.loadClas
> s(BundleHost.java:231)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.load
> BundleActivator(AbstractBundle.java:150)
> ... 256 more
> Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for:
> org.eclipse.core.runtime.Plugin
> at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:30 6)
> at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(Rep
> ositoryClassLoader.java:521)
> at org.jboss.mx.loading.RepositoryClassLoader.loadClass(Reposit
> oryClassLoader.java:415)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
>
Re: CREATE_EXTENSION_FAIL [message #496808 is a reply to message #496604] Wed, 11 November 2009 12:55 Go to previous messageGo to next message
ulp  is currently offline ulp Friend
Messages: 2
Registered: November 2009
Junior Member
Hi Jason,

we use Birt 2.5.1 ReportEngine as a local Engine including the standard libs

EngineHome = $JBossHome/server/default/ReportEngine

Reports are located in $JBossHome/server/default/ReportEngine/reports

Reports (pdf, html and xls) are generated into the folder: $JBossHome/server/default/tmpReports

We have no problems to generate table reports. The stacktrace I sent you before, turns up when I try to generate a chart report. These errors occur for all output formats (PDF, HTML and XLS).

The JEE web application uses the static ReportEngine in my class "BirtEngine.java"
public class BirtEngine {

	private static IReportEngine birtEngine = null;


	private static final String reportLogDir = ...
	private static final String reportEngineHome = ... e.g. "C:/JBoss/server/default/ReportEngine"

	public static synchronized IReportEngine getBirtEngine() {
		if (birtEngine == null) {
			EngineConfig config = new EngineConfig();

			File f = new File(reportEngineHome);
			if (!f.exists()) {
				throw new IllegalStateException("ReportEngine not Found");
			}
			config.setEngineHome(reportEngineHome);
			config.setLogConfig(reportLogDir, java.util.logging.Level.ALL);
			try {
				Platform.startup(config);
			} catch (BirtException e) {
				log.error("Error", e);
			}
			IReportEngineFactory factory = (IReportEngineFactory) Platform
					.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
			birtEngine = factory.createReportEngine(config);
		}
		return birtEngine;

	}
}



The service class BirtServiceImpl implements an executeReport method
public void executeBirtReport(String rptdesignName,
			Something something,
			String outputFileName) {

		try {
			// ActionForm birtActionForm = (BirtActionForm) form;
			engine = BirtEngine.getBirtEngine();
			IReportRunnable report = engine.openReportDesign(reportSrcDir
					+ rptdesignName);
			IRunAndRenderTask task = engine.createRunAndRenderTask(report);
			HashMap<String, Object> contextMap = new HashMap<String, Object>();
			contextMap.put("Something", someAttribute.toString());
...
		RenderOption options = new RenderOption();

			switch (myCqiReportFilterDefinition.getFormat()) {
			case PDF:
				...
				break;
			case HTML:
				options = new HTMLRenderOption();
				((HTMLRenderOption) options).setEmbeddable(true);
				((HTMLRenderOption) options).setEnableAgentStyleEngine(true);
				options.setSupportedImageFormats("JPG;PNG;BMP;SVG;GIF"); 

				options.setBaseURL("/somethings/");
				// Tell the Engine to prepend all images with this URL - Note
				// this requires using the HTMLServerImageHandler
				((HTMLRenderOption) options).setBaseImageURL("/reports/"
						+ outputFileName + "/");
				// Tell the Engine where to write the images to
				File f = new File(reportOutputDir + outputFileName + "/");
				f.mkdirs();
				((HTMLRenderOption) options).setImageDirectory(reportOutputDir
						+ outputFileName + "/");

				options.setOutputFileName(reportOutputDir + outputFileName
						+ ".html");
				options.setOutputFormat(HTMLRenderOption.OUTPUT_FORMAT_HTML);
           				
				HTMLCompleteImageHandler imageHandler = new HTMLCompleteImageHandler();
              			options.setImageHandler(imageHandler); 
				break;
			case XLS:
				...
				break;

			}
			task.setRenderOption(options);
			task.setLocale(LocaleSelector.instance().getLocale());
			task.run();
			task.close();

		} catch (Exception e) {
			log.error("executeBirtReport(): Error generating Birt-Report ", e);

		}
	}


[Updated on: Wed, 11 November 2009 12:55]

Report message to a moderator

Re: CREATE_EXTENSION_FAIL [message #496890 is a reply to message #496808] Wed, 11 November 2009 16:28 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Do you have all the plugins in the reportengine/plugins directory and
the lib files from reporttengine/lib in you web-inf/lib directory.

You can also use a platformservletcontext as discussed here:
http://wiki.eclipse.org/Servlet_Example_%28BIRT%29_2.1
Look the comments for a 2.5 example.

You may also want to do this on the EngineConfig class

config.getAppContext().put(EngineConstants.APPCONTEXT_CLASSL OADER_KEY,
BirtEngine.class.getClassLoader());
This allows the engine to see your webapps cp;


Finally what OS are you running on?

Jason



ulp wrote:
> Hi Jason,
>
> we use Birt 2.5.1 ReportEngine as a local Engine including the standard
> libs
>
> EngineHome = $JBossHome/server/default/ReportEngine
>
> Reports are located in $JBossHome/server/default/ReportEngine/reports
>
> Reports (pdf, html and xls) are generated into the folder:
> $JBossHome/server/default/tmpReports
>
> We have no problems to generate table reports. The stacktrace I sent you
> before, turns up when I try to generate a chart report. These errors
> occur for all output formats (PDF, HTML and XLS).
>
> The JEE web application uses the static ReportEngine in my class
> "BirtEngine.java"
>
> public class BirtEngine {
>
> private static IReportEngine birtEngine = null;
>
>
> private static final String reportLogDir = ...
> private static final String reportEngineHome = ... e.g.
> "C:/JBoss/server/default/ReportEngine"
>
> public static synchronized IReportEngine getBirtEngine() {
> if (birtEngine == null) {
> EngineConfig config = new EngineConfig();
>
> File f = new File(reportEngineHome);
> if (!f.exists()) {
> throw new IllegalStateException("ReportEngine not Found");
> }
> config.setEngineHome(reportEngineHome);
> config.setLogConfig(reportLogDir, java.util.logging.Level.ALL);
> try {
> Platform.startup(config);
> } catch (BirtException e) {
> log.error("Error", e);
> }
> IReportEngineFactory factory = (IReportEngineFactory) Platform
>
> .createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_E NGINE_FACTORY);
> birtEngine = factory.createReportEngine(config);
> }
> return birtEngine;
>
> }
> }
>
>
>
> The service class BirtServiceImpl implements an executeReport method
>
> public void executeBirtReport(String rptdesignName,
> Something something,
> String outputFileName) {
>
> try {
> // ActionForm birtActionForm = (BirtActionForm) form;
> engine = BirtEngine.getBirtEngine();
> IReportRunnable report = engine.openReportDesign(reportSrcDir
> + rptdesignName);
> IRunAndRenderTask task = engine.createRunAndRenderTask(report);
> HashMap<String, Object> contextMap = new HashMap<String,
> Object>();
> contextMap.put("Something", someAttribute.toString());
> ..
> RenderOption options = new RenderOption();
>
> switch (myCqiReportFilterDefinition.getFormat()) {
> case PDF:
> ...
> break;
> case HTML:
> options = new HTMLRenderOption();
> ((HTMLRenderOption) options).setEmbeddable(true);
> ((HTMLRenderOption)
> options).setEnableAgentStyleEngine(true);
> options.setSupportedImageFormats("JPG;PNG;BMP;SVG;GIF");
> options.setBaseURL("/somethings/");
> // Tell the Engine to prepend all images with this URL -
> Note
> // this requires using the HTMLServerImageHandler
> ((HTMLRenderOption) options).setBaseImageURL("/reports/"
> + outputFileName + "/");
> // Tell the Engine where to write the images to
> File f = new File(reportOutputDir + outputFileName + "/");
> f.mkdirs();
> ((HTMLRenderOption)
> options).setImageDirectory(reportOutputDir
> + outputFileName + "/");
>
> options.setOutputFileName(reportOutputDir + outputFileName
> + ".html");
>
> options.setOutputFormat(HTMLRenderOption.OUTPUT_FORMAT_HTML) ;
>
> HTMLCompleteImageHandler imageHandler = new
> HTMLCompleteImageHandler();
> options.setImageHandler(imageHandler);
> break;
> case XLS:
> ...
> break;
>
> }
> task.setRenderOption(options);
> task.setLocale(LocaleSelector.instance().getLocale());
> task.run();
> task.close();
>
> } catch (Exception e) {
> log.error("executeBirtReport(): Error generating Birt-Report
> ", e);
>
> }
> }
>
>
>
Previous Topic:Text wrapping
Next Topic:XML data source with a sequence of URLs?
Goto Forum:
  


Current Time: Thu Sep 26 03:55:41 GMT 2024

Powered by FUDForum. Page generated in 0.04060 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top