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)
Birt 3.7 and jsf4birt
Bussard
Can I use Birt 3.7 with jsf4birt without changes?
There's any documentation on updating application using jsf4birt and Birt 2.6 ?
Find more posts tagged with
Comments
JasonW
I do not know if they have updated that component, but to try it why not create a new web app use a modified install script like
2.Create a /WEB-INF/lib directory underneath the Tomcat webapps directory.
3.Copy all the JARs in the birt-runtime-[version]/ReportEngine/lib directory from the Report Engine download into your WebReport/WEB-INF/lib directory.
6.Add the jsf4birt library to your classpath.
We are just skipping steps 4 and 5.
Jason
Bussard
Yes, it's works.<br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="'JasonW'" data-cid="81064" data-time="1312389792" data-date="03 August 2011 - 09:43 AM"><p>
I do not know if they have updated that component, but to try it why not create a new web app use a modified install script like <br />
<br />
2.Create a /WEB-INF/lib directory underneath the Tomcat webapps directory. <br />
3.Copy all the JARs in the birt-runtime-[version]/ReportEngine/lib directory from the Report Engine download into your WebReport/WEB-INF/lib directory. <br />
6.Add the jsf4birt library to your classpath.<br />
<br />
We are just skipping steps 4 and 5.<br />
<br />
Jason<br /></p></blockquote>
waldemar
<blockquote class='ipsBlockquote' data-author="'Bussard'" data-cid="81346" data-time="1312916088" data-date="09 August 2011 - 11:54 AM"><p>
Yes, it's works.<br /></p></blockquote>
<br />
It doesn't work for me!<br />
Could you please describe in detail what to do?<br />
<br />
greets,<br />
lukas
rohitlambi
<blockquote class='ipsBlockquote' data-author="'JasonW'" data-cid="81064" data-time="1312389792" data-date="03 August 2011 - 09:43 AM"><p>
I do not know if they have updated that component, but to try it why not create a new web app use a modified install script like <br />
<br />
2.Create a /WEB-INF/lib directory underneath the Tomcat webapps directory. <br />
3.Copy all the JARs in the birt-runtime-[version]/ReportEngine/lib directory from the Report Engine download into your WebReport/WEB-INF/lib directory. <br />
6.Add the jsf4birt library to your classpath.<br />
<br />
We are just skipping steps 4 and 5.<br />
<br />
Jason<br /></p></blockquote>
<br />
<br />
I am stuck while integrating birt 3.7 with jsf using jsf4birt library.<br />
<br />
When I followed the steps mentioned I am getting following exception. I have wasted a lot of time fixing this but was unable to do so.... Jason please help me with this exception.<br />
Thank you in advance.<br />
<br />
This is what displayed on console <br />
<br />
javax.faces.FacesException: javax.faces.FacesException: No configuration was defined for birt engine<br />
at com.exadel.jsfbirt.engine.BirtRendererUtils.renderBirt(BirtRendererUtils.java:152)<br />
at com.exadel.jsfbirt.renderkit.html.BirtWrapperRenderer.doEncodeBegin(BirtWrapperRenderer.java:162)<br />
at com.exadel.jsfbirt.renderkit.html.BirtWrapperRenderer.encodeBegin(BirtWrapperRenderer.java:127)<br />
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:828)<br />
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650)<br />
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655)<br />
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)<br />
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)<br />
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)<br />
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)<br />
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)<br />
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)<br />
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br />
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br />
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br />
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br />
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br />
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)<br />
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br />
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)<br />
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)<br />
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)<br />
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)<br />
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br />
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br />
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)<br />
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br />
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)<br />
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)<br />
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)<br />
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)<br />
at java.lang.Thread.run(Thread.java:662)<br />
Caused by: javax.faces.FacesException: No configuration was defined for birt engine<br />
at com.exadel.jsfbirt.engine.BirtEngine.loadEngineProps(BirtEngine.java:122)<br />
at com.exadel.jsfbirt.engine.BirtEngine.initBirtConfig(BirtEngine.java:47)<br />
at com.exadel.jsfbirt.engine.BirtEngine.getBirtEngine(BirtEngine.java:57)<br />
at com.exadel.jsfbirt.engine.BirtRendererUtils.renderBirt(BirtRendererUtils.java:134)<br />
... 31 more<br />
20:17:12,462 ERROR
Faces Servlet
Servlet.service() for servlet Faces Servlet threw exception<br />
javax.faces.FacesException: No configuration was defined for birt engine<br />
at com.exadel.jsfbirt.engine.BirtEngine.loadEngineProps(BirtEngine.java:122)<br />
at com.exadel.jsfbirt.engine.BirtEngine.initBirtConfig(BirtEngine.java:47)<br />
at com.exadel.jsfbirt.engine.BirtEngine.getBirtEngine(BirtEngine.java:57)<br />
at com.exadel.jsfbirt.engine.BirtRendererUtils.renderBirt(BirtRendererUtils.java:134)<br />
at com.exadel.jsfbirt.renderkit.html.BirtWrapperRenderer.doEncodeBegin(BirtWrapperRenderer.java:162)<br />
at com.exadel.jsfbirt.renderkit.html.BirtWrapperRenderer.encodeBegin(BirtWrapperRenderer.java:127)<br />
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:828)<br />
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650)<br />
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655)<br />
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)<br />
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)<br />
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)<br />
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)<br />
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)<br />
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)<br />
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br />
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br />
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br />
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br />
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br />
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)<br />
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br />
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)<br />
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)<br />
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)<br />
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)<br />
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br />
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br />
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)<br />
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br />
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)<br />
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)<br />
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)<br />
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)<br />
at java.lang.Thread.run(Thread.java:662)<br />
<br />
<br />
<br />
and in browser the following message<br />
<br />
<br />
<br />
type Exception report<br />
<br />
message<br />
<br />
description The server encountered an internal error () that prevented it from fulfilling this request.<br />
<br />
exception<br />
<br />
javax.servlet.ServletException: No configuration was defined for birt engine<br />
javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)<br />
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br />
<br />
root cause<br />
<br />
javax.faces.FacesException: No configuration was defined for birt engine<br />
com.exadel.jsfbirt.engine.BirtEngine.loadEngineProps(BirtEngine.java:122)<br />
com.exadel.jsfbirt.engine.BirtEngine.initBirtConfig(BirtEngine.java:47)<br />
com.exadel.jsfbirt.engine.BirtEngine.getBirtEngine(BirtEngine.java:57)<br />
com.exadel.jsfbirt.engine.BirtRendererUtils.renderBirt(BirtRendererUtils.java:134)<br />
com.exadel.jsfbirt.renderkit.html.BirtWrapperRenderer.doEncodeBegin(BirtWrapperRenderer.java:162)<br />
com.exadel.jsfbirt.renderkit.html.BirtWrapperRenderer.encodeBegin(BirtWrapperRenderer.java:127)<br />
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:828)<br />
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650)<br />
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655)<br />
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)<br />
com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)<br />
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)<br />
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)<br />
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)<br />
javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)<br />
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br />
<br />
note The full stack trace of the root cause is available in the JBoss Web/2.1.3.GA logs.<br />
JBoss Web/2.1.3.GA
JasonW
I responded to this on the Birt Newsgroup:
http://www.eclipse.org/forums/index.php/t/273280/
Jason