12 Replies Latest reply on May 16, 2014 1:20 PM by Busssard Buss

    Can't run the JBoss Birt integration sample

    nicolas duminil Master

      Greetings,

       

      I'm using JBDS 7.0 and I installed BIRT Reporting Runtime component 4.3.1. I'm following exactly the steps described here Chapter 4. Birt Integration. The only difference is that, upon generation of the war file, the class org.w3c.dom.DOMConfiguration appears twice in the war. Once in the org.eclipse.birt.runtime_4.3.1.jar and a second time in the org.apache.xerces_2.9.0.jar. In ordr to deploy the war I had to remove the archive org.apache.xerces_2.9.0 and then the deployment worked correctly.

       

      Running the web-app, i.e. connecting to lcalhost:8080/hello-birt/birttests.seam correctly displays the page with the two links toward the two BIRT genertaed reports. But clicking on any of the links just displays an empty page.

       

      Please help me get this sample working as I have to include some reporting functionalities in some of our Seam web-apps.

       

      Many thanks in advance,

       

      Nicolas

        • 2. Re: Can't run the JBoss Birt integration sample
          nicolas duminil Master

          Thanks for your reply. Yes, adding these two archives to the WAR lib directory almost solve the problem. Now clicking the Test Birt link correctly displays the associated report. But clicking the Test Birt 1 link raises the following exception:

           

          11:51:59,887 ERROR [[jsp]] "Servlet.service()" pour la servlet jsp a lanc? une exception

          java.io.IOException: tmpFile.renameTo(classFile) failed

              at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:246)

              at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:165)

              at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:454)

              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)

              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)

              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)

              at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)

              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:82)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.callBack(AbstractBaseFragment.java:106)

              at org.apache.jsp.webcontent.birt.pages.layout.ReportFragment_jsp._jspService(ReportFragment_jsp.java:72)

              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)

              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:82)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.callBack(AbstractBaseFragment.java:106)

              at org.apache.jsp.webcontent.birt.pages.layout.FramesetFragment_jsp._jspService(FramesetFragment_jsp.java:274)

              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)

              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)

              at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:98)

              at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)

              at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:160)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

              at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:295)

              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:373)

              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:500)

              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:442)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

              at java.lang.Thread.run(Thread.java:722)

          11:51:59,887 ERROR [[jsp]] "Servlet.service()" pour la servlet jsp a lanc? une exception

          java.io.IOException: tmpFile.renameTo(classFile) failed

              at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:246)

              at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:165)

              at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:454)

              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)

              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)

              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)

              at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)

              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:82)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.callBack(AbstractBaseFragment.java:106)

              at org.apache.jsp.webcontent.birt.pages.layout.ReportFragment_jsp._jspService(ReportFragment_jsp.java:72)

              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)

              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:82)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.callBack(AbstractBaseFragment.java:106)

              at org.apache.jsp.webcontent.birt.pages.layout.FramesetFragment_jsp._jspService(FramesetFragment_jsp.java:274)

              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)

              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)

              at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:98)

              at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)

              at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:160)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

              at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:295)

              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:373)

              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:500)

              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:442)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

              at java.lang.Thread.run(Thread.java:722)

          11:51:59,897 ERROR [[jsp]] "Servlet.service()" pour la servlet jsp a lanc? une exception

          java.io.IOException: tmpFile.renameTo(classFile) failed

              at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:246)

              at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:165)

              at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:454)

              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)

              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)

              at org.apache.jasper.compiler.Compiler.compile(Compiler.java:300)

              at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)

              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:82)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.callBack(AbstractBaseFragment.java:106)

              at org.apache.jsp.webcontent.birt.pages.layout.ReportFragment_jsp._jspService(ReportFragment_jsp.java:72)

              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)

              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:82)

              at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.callBack(AbstractBaseFragment.java:106)

              at org.apache.jsp.webcontent.birt.pages.layout.FramesetFragment_jsp._jspService(FramesetFragment_jsp.java:274)

              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)

              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)

              at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:98)

              at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)

              at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:160)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

              at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:295)

              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:373)

              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:500)

              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:442)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

              at java.lang.Thread.run(Thread.java:722)

          11:51:59,897 ERROR [BaseXMLFilter] Exception in the filter chain

          javax.servlet.ServletException: java.lang.IllegalArgumentException: no file extension in servlet path: /frameset

              at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:126)

              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:70)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:295)

              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:373)

              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:500)

              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:442)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

              at java.lang.Thread.run(Thread.java:722)

          Caused by: java.lang.IllegalArgumentException: no file extension in servlet path: /frameset

              at org.jboss.seam.mock.MockViewHandler.getActionURL(MockViewHandler.java:45)

              at org.jboss.seam.jsf.SeamViewHandler.getActionURL(SeamViewHandler.java:74)

              at org.jboss.seam.faces.FacesManager.redirect(FacesManager.java:168)

              at org.jboss.seam.faces.Redirect.execute(Redirect.java:154)

              at org.jboss.seam.exception.DebugPageHandler.handle(DebugPageHandler.java:32)

              at org.jboss.seam.exception.Exceptions.handle(Exceptions.java:76)

              at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:114)

              ... 37 more

          11:51:59,897 ERROR [[ViewerServlet]] "Servlet.service()" pour la servlet ViewerServlet a g?n?r? une exception

          java.lang.IllegalArgumentException: no file extension in servlet path: /frameset

              at org.jboss.seam.mock.MockViewHandler.getActionURL(MockViewHandler.java:45)

              at org.jboss.seam.jsf.SeamViewHandler.getActionURL(SeamViewHandler.java:74)

              at org.jboss.seam.faces.FacesManager.redirect(FacesManager.java:168)

              at org.jboss.seam.faces.Redirect.execute(Redirect.java:154)

              at org.jboss.seam.exception.DebugPageHandler.handle(DebugPageHandler.java:32)

              at org.jboss.seam.exception.Exceptions.handle(Exceptions.java:76)

              at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:114)

              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:70)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:295)

              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:373)

              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:500)

              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:442)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

              at java.lang.Thread.run(Thread.java:722)

           

          I'm using JBoss SOA-P 5.3.1 with Seam 2.2.EAP5. Any clou concerning this exception ?

           

          Many thanks in advance,

           

          Nicolas

          1 of 1 people found this helpful
          • 3. Re: Can't run the JBoss Birt integration sample
            nicolas duminil Master

            I'm updating the case. Afetr having added the two archives mentioned by Snjezana I was able to display test.rptdesign but not test1.rptdesign. Trying to display test1.rptdesign raises the exception above and googling I didn't find any working solution.

             

            I defined a new simple report based on an dataset using a query through a JDBC connection to an Oracle database. I defined a data binding and in the Preview results of the Edit Data Set dialog the information displayed correctly. But going in the Preview tab of the report editor nothing get displayed, the page is empty. After having deployied the war the report is just an empty page having only the static title and the date. Obviously, the SQL query doesn't get executed for some reason. The parameter are designType="run" format="pdf". If I'm trying designType="frameset" then the same exception above raises.

             

            Please help as I don't know any more what to try.

             

            Many thanks in advance,

             

            Nicolas

            1 of 1 people found this helpful
            • 4. Re: Can't run the JBoss Birt integration sample
              nicolas duminil Master

              Could someone please help with that ? As explained, my report displays but only static parts like title and the footer containg the date are visible. For some reason the SQL query configured in the data set doesn't get executed.

               

              Many thanks in advance.

              • 5. Re: Can't run the JBoss Birt integration sample
                Snjezana Peco Master

                I can't reproduce the issue using SOA-5.3.1 and seam included into SOA-5.3.1.

                I think it is caused by the order of servlets and/or filters in web.xml.

                Check if birt servlets/filters are defined before defining "Faces Servlet" and seam servlets/filter.

                Could you attach your configuration files from WEB-INF (web.xml, faces-config.xml, components.xml, pages.xml, jboss-web.xml ...)?

                • 6. Re: Can't run the JBoss Birt integration sample
                  Snjezana Peco Master

                  nicolas duminil wrote:

                   

                  Could someone please help with that ? As explained, my report displays but only static parts like title and the footer containg the date are visible. For some reason the SQL query configured in the data set doesn't get executed.

                   

                  Many thanks in advance.

                   

                  Could you attach the report you have tried as well as an SQL schema?

                  • 7. Re: Can't run the JBoss Birt integration sample
                    nicolas duminil Master

                    Hi Snezana,

                     

                    Thanks for your sugestion. The BIRT related stuff in web.xml was at the end of the file, after the JSF/Rich/Seam servlets/listeners. I moved them in the beggining of the file, before everything else but the result is the same. There are two reports, both generated by the JBDS Wizard upon the creation of the Seam Web project to which I added the BIRT facet. The first file, test.rptdesign, displays correctly. The second one, test1.rptdesign, raises javax.servlet.ServletException: java.lang.IllegalArgumentException: no file extension in servlet path: /run. If I try to display it using designType=frameset then it raises the same exception for the path /frameset.

                     

                    I will attach the reports and the database schema but I'm wondering how to do it as there doesn't seem to be any function on this site allowing one to attach files. I'm looking at that and will attach the files as soon as I would have found a way to do it. But the files are the one generated by Seam/Birt wizard; without any modification.

                     

                    Kind regards,

                     

                    Nicolas

                    • 8. Re: Can't run the JBoss Birt integration sample
                      nicolas duminil Master

                      Not being able to find any way to attache file to this discussion, I copying them here.

                       

                      web.xml

                       

                      <?xml version="1.0" encoding="UTF-8"?>

                      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

                        id="WebApp_ID" version="2.5">

                        <display-name>bam-report</display-name>

                        <welcome-file-list>

                          <welcome-file>index.html</welcome-file>

                        </welcome-file-list>

                        <description>Deployment Descriptor for BIRT Viewer. Please check and specify the following settings.</description>

                        <context-param>

                          <description>Flag whether the report resources can only be accessed under the working folder. Defaults to false</description>

                          <param-name>WORKING_FOLDER_ACCESS_ONLY</param-name>

                          <param-value>false</param-value>

                        </context-param>

                        <context-param>

                          <description>Temporary document files directory. Defaults to ${Context Root}/documents</description>

                          <param-name>BIRT_VIEWER_DOCUMENT_FOLDER</param-name>

                          <param-value>documents</param-value>

                        </context-param>

                        <context-param>

                          <description>Flag whether to allow server-side printing. Possible values are ON and OFF. Defaults to ON</description>

                          <param-name>BIRT_VIEWER_PRINT_SERVERSIDE</param-name>

                          <param-value>ON</param-value>

                        </context-param>

                        <context-param>

                          <description>Memory size in MB for creating a cube.</description>

                          <param-name>BIRT_VIEWER_CUBE_MEMORY_SIZE</param-name>

                          <param-value></param-value>

                        </context-param>

                        <context-param>

                          <description>Directory where to store all the birt report script libraries (JARs).. Defaults to ${Context Root}/scriptlib</description>

                          <param-name>BIRT_VIEWER_SCRIPTLIB_DIR</param-name>

                          <param-value>scriptlib</param-value>

                        </context-param>

                        <context-param>

                          <description>Temporary images/charts directory. Defaults to ${Context Root}/report/images</description>

                          <param-name>BIRT_VIEWER_IMAGE_DIR</param-name>

                          <param-value>report/images</param-value>

                        </context-param>

                        <context-param>

                          <description>BIRT viewer extended configuration file</description>

                          <param-name>BIRT_VIEWER_CONFIG_FILE</param-name>

                          <param-value>WEB-INF/viewer.properties</param-value>

                        </context-param>

                        <context-param>

                          <description>Preview report rows limit. An empty value means no limit.</description>

                          <param-name>BIRT_VIEWER_MAX_ROWS</param-name>

                          <param-value></param-value>

                        </context-param>

                        <context-param>

                          <description>Max cube fetch rows levels limit for report preview (Only used when previewing a report design file using the preview pattern). Defaults to return all levels</description>

                          <param-name>BIRT_VIEWER_MAX_CUBE_ROWLEVELS</param-name>

                          <param-value></param-value>

                        </context-param>

                        <context-param>

                          <description>Default locale setting</description>

                          <param-name>BIRT_VIEWER_LOCALE</param-name>

                          <param-value>en-US</param-value>

                        </context-param>

                        <context-param>

                          <description>Max cube fetch columns levels limit for report preview (Only used when previewing a report design file using the preview pattern). Defaults to return all levels</description>

                          <param-name>BIRT_VIEWER_MAX_CUBE_COLUMNLEVELS</param-name>

                          <param-value></param-value>

                        </context-param>

                        <context-param>

                          <description>Report resources(design files or document files) directory for preview. Defaults to ${Context Root}</description>

                          <param-name>BIRT_VIEWER_WORKING_FOLDER</param-name>

                          <param-value></param-value>

                        </context-param>

                        <context-param>

                          <description>Report Engine logs directory. Default to ${Context Root}/logs</description>

                          <param-name>BIRT_VIEWER_LOG_DIR</param-name>

                          <param-value>logs</param-value>

                        </context-param>

                        <context-param>

                          <description>Resource location directory (library files, images files or others). Defaults to ${Context Root}</description>

                          <param-name>BIRT_RESOURCE_PATH</param-name>

                          <param-value></param-value>

                        </context-param>

                        <context-param>

                          <description>Flag whether to force browser-optimized HTML output. Defaults to true</description>

                          <param-name>HTML_ENABLE_AGENTSTYLE_ENGINE</param-name>

                          <param-value>true</param-value>

                        </context-param>

                        <context-param>

                          <description>Report engine log level. (ALL|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST|OFF)</description>

                          <param-name>BIRT_VIEWER_LOG_LEVEL</param-name>

                          <param-value>WARNING</param-value>

                        </context-param>

                        <listener>

                          <listener-class>org.eclipse.birt.report.listener.ViewerHttpSessionListener</listener-class>

                        </listener>

                        <listener>

                          <listener-class>org.eclipse.birt.report.listener.ViewerServletContextListener</listener-class>

                        </listener>

                        <servlet>

                          <servlet-name>EngineServlet</servlet-name>

                          <servlet-class>org.eclipse.birt.report.servlet.BirtEngineServlet</servlet-class>

                          <load-on-startup>1</load-on-startup>

                        </servlet>

                        <servlet>

                          <servlet-name>ViewerServlet</servlet-name>

                          <servlet-class>org.eclipse.birt.report.servlet.ViewerServlet</servlet-class>

                          <load-on-startup>1</load-on-startup>

                        </servlet>

                        <servlet-mapping>

                          <servlet-name>ViewerServlet</servlet-name>

                          <url-pattern>/frameset</url-pattern>

                        </servlet-mapping>

                        <servlet-mapping>

                          <servlet-name>EngineServlet</servlet-name>

                          <url-pattern>/document</url-pattern>

                        </servlet-mapping>

                        <servlet-mapping>

                          <servlet-name>EngineServlet</servlet-name>

                          <url-pattern>/download</url-pattern>

                        </servlet-mapping>

                        <servlet-mapping>

                          <servlet-name>EngineServlet</servlet-name>

                          <url-pattern>/parameter</url-pattern>

                        </servlet-mapping>

                        <servlet-mapping>

                          <servlet-name>EngineServlet</servlet-name>

                          <url-pattern>/extract</url-pattern>

                        </servlet-mapping>

                        <servlet-mapping>

                          <servlet-name>ViewerServlet</servlet-name>

                          <url-pattern>/run</url-pattern>

                        </servlet-mapping>

                        <servlet-mapping>

                          <servlet-name>EngineServlet</servlet-name>

                          <url-pattern>/preview</url-pattern>

                        </servlet-mapping>

                        <servlet-mapping>

                          <servlet-name>EngineServlet</servlet-name>

                          <url-pattern>/output</url-pattern>

                        </servlet-mapping>

                        <filter>

                          <filter-name>ViewerFilter</filter-name>

                          <filter-class>org.eclipse.birt.report.filter.ViewerFilter</filter-class>

                        </filter>

                        <filter-mapping>

                          <filter-name>ViewerFilter</filter-name>

                          <servlet-name>EngineServlet</servlet-name>

                        </filter-mapping>

                        <filter-mapping>

                          <filter-name>ViewerFilter</filter-name>

                          <servlet-name>ViewerServlet</servlet-name>

                        </filter-mapping>

                        <servlet>

                          <servlet-name>Faces Servlet</servlet-name>

                          <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>

                          <load-on-startup>1</load-on-startup>

                        </servlet>

                        <servlet-mapping>

                          <servlet-name>Faces Servlet</servlet-name>

                          <url-pattern>*.seam</url-pattern>

                        </servlet-mapping>

                        <context-param>

                          <param-name>org.jboss.jbossfaces.JSF_CONFIG_NAME</param-name>

                          <param-value>Mojarra-1.2</param-value>

                        </context-param>

                        <context-param>

                          <param-name>org.richfaces.SKIN</param-name>

                          <param-value>blueSky</param-value>

                        </context-param>

                        <listener>

                          <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>

                        </listener>

                        <filter>

                          <filter-name>Seam Filter</filter-name>

                          <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>

                        </filter>

                        <filter-mapping>

                          <filter-name>Seam Filter</filter-name>

                          <url-pattern>/*</url-pattern>

                        </filter-mapping>

                        <servlet>

                          <servlet-name>Seam Resource Servlet</servlet-name>

                          <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>

                        </servlet>

                        <servlet-mapping>

                          <servlet-name>Seam Resource Servlet</servlet-name>

                          <url-pattern>/seam/resource/*</url-pattern>

                        </servlet-mapping>

                        <context-param>

                          <param-name>facelets.DEVELOPMENT</param-name>

                          <param-value>true</param-value>

                        </context-param>

                        <context-param>

                          <param-name>javax.faces.DEFAULT_SUFFIX</param-name>

                          <param-value>.xhtml</param-value>

                        </context-param>

                        <security-constraint>

                          <display-name>Restrict raw XHTML Documents</display-name>

                          <web-resource-collection>

                            <web-resource-name>XHTML</web-resource-name>

                            <url-pattern>*.xhtml</url-pattern>

                          </web-resource-collection>

                          <auth-constraint />

                        </security-constraint>

                      </web-app>

                       

                      components.xml

                       

                      <?xml version="1.0" encoding="UTF-8"?>

                      <components xmlns="http://jboss.com/products/seam/components"

                                  xmlns:core="http://jboss.com/products/seam/core"

                                  xmlns:persistence="http://jboss.com/products/seam/persistence"

                                  xmlns:drools="http://jboss.com/products/seam/drools"

                                  xmlns:bpm="http://jboss.com/products/seam/bpm"

                                  xmlns:security="http://jboss.com/products/seam/security"

                                  xmlns:mail="http://jboss.com/products/seam/mail"

                                  xmlns:web="http://jboss.com/products/seam/web"

                                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                                  xsi:schemaLocation=

                                      "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd

                                       http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.2.xsd

                                       http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd

                                       http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.2.xsd

                                       http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd

                                       http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd

                                       http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd

                                       http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd">

                       

                         <core:init debug="true" jndi-pattern="@jndiPattern@"/>

                       

                         <core:manager concurrent-request-timeout="500"

                                       conversation-timeout="120000"

                                       conversation-id-parameter="cid"

                                       parent-conversation-id-parameter="pid"/>

                       

                         <!-- Make sure this URL pattern is the same as that used by the Faces Servlet -->

                         <web:hot-deploy-filter url-pattern="*.seam"/>

                       

                         <persistence:managed-persistence-context

                              name="entityManager" auto-create="true"

                              persistence-unit-jndi-name="java:/bam-reportEntityManagerFactory"/>

                       

                         <drools:rule-base name="securityRules">

                            <drools:rule-files><value>/security.drl</value></drools:rule-files>

                         </drools:rule-base>

                       

                         <security:rule-based-permission-resolver security-rules="#{securityRules}"/>

                       

                         <security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true"/>

                       

                         <event type="org.jboss.seam.security.notLoggedIn">

                            <action execute="#{redirect.captureCurrentView}"/>

                         </event>

                         <event type="org.jboss.seam.security.loginSuccessful">

                            <action execute="#{redirect.returnToCapturedView}"/>

                         </event>

                       

                         <mail:mail-session host="localhost" port="25"/>

                       

                         <!-- For use with jBPM pageflow or process management -->

                         <!--

                         <bpm:jbpm>

                            <bpm:process-definitions></bpm:process-definitions>

                            <bpm:pageflow-definitions></bpm:pageflow-definitions>

                         </bpm:jbpm>

                         -->

                       

                      </components>

                       

                      faces-config.xml

                       

                      <?xml version="1.0" encoding="UTF-8"?>

                       

                      <faces-config

                          xmlns="http://java.sun.com/xml/ns/javaee"

                          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"

                          version="1.2">

                          <application>

                              <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>

                              <locale-config>

                                  <default-locale>en</default-locale>

                                  <supported-locale>bg</supported-locale>

                                  <supported-locale>de</supported-locale>

                                  <supported-locale>en</supported-locale>

                                  <supported-locale>fr</supported-locale>

                                  <supported-locale>tr</supported-locale>

                              </locale-config>

                          </application>

                       

                      </faces-config>

                       

                      jboss-web.xml

                       

                      <!DOCTYPE jboss-web PUBLIC

                          "-//JBoss//DTD Web Application 4.2//EN"

                          "http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">

                      <jboss-web> 

                          <class-loading java2ClassLoadingCompliance="false">

                              <loader-repository>

                                  seam.jboss.org:loader=bam-report

                                  <loader-repository-config>java2ParentDelegation=false</loader-repository-config>

                              </loader-repository>

                          </class-loading>

                      </jboss-web>

                       

                      pages.xml

                       

                      <?xml version="1.0" encoding="UTF-8"?>

                      <pages xmlns="http://jboss.com/products/seam/pages"

                             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                             xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.2.xsd"

                       

                             no-conversation-view-id="/home.xhtml"

                             login-view-id="/login.xhtml">

                       

                          <page view-id="*">

                              <navigation>

                                  <rule if-outcome="home">

                                      <redirect view-id="/home.xhtml"/>

                                  </rule>

                              </navigation>

                          </page>

                       

                          <exception class="org.jboss.seam.framework.EntityNotFoundException">

                              <redirect view-id="/error.xhtml">

                                  <message severity="warn">Record not found</message>

                              </redirect>

                          </exception>

                         

                          <exception class="javax.persistence.EntityNotFoundException">

                              <redirect view-id="/error.xhtml">

                                  <message severity="warn">Record not found</message>

                              </redirect>

                          </exception>

                         

                          <exception class="javax.persistence.EntityExistsException">

                              <redirect view-id="/error.xhtml">

                                  <message severity="warn">Duplicate record</message>

                              </redirect>

                          </exception>

                         

                          <exception class="javax.persistence.OptimisticLockException">

                              <end-conversation/>

                              <redirect view-id="/error.xhtml">

                                  <message severity="warn">Another user changed the same data, please try again</message>

                              </redirect>

                          </exception>

                         

                          <exception class="org.jboss.seam.security.AuthorizationException">

                              <redirect view-id="/error.xhtml">

                                  <message severity="error">You don't have permission to access this resource</message>

                              </redirect>

                          </exception>

                         

                          <exception class="org.jboss.seam.security.NotLoggedInException">

                              <redirect view-id="/login.xhtml">

                                  <message severity="warn">#{messages['org.jboss.seam.NotLoggedIn']}</message>

                              </redirect>

                          </exception>

                         

                          <exception class="javax.faces.application.ViewExpiredException">

                              <redirect view-id="/error.xhtml">

                                  <message severity="warn">Your session has timed out, please try again</message>

                              </redirect>

                          </exception>

                         

                          <exception class="org.jboss.seam.ConcurrentRequestTimeoutException" log-level="trace">

                            <http-error error-code="503" />

                          </exception>

                          

                          <exception>

                              <redirect view-id="/error.xhtml">

                                  <message severity="error">Unexpected error, please try again</message>

                              </redirect>

                          </exception>

                         

                      </pages>

                       

                      viewer.properties

                       

                      ###############################################################################

                      # Copyright (c) 2004 Actuate Corporation.

                      # All rights reserved. This program and the accompanying materials

                      # are made available under the terms of the Eclipse Public License v1.0

                      # which accompanies this distribution, and is available at

                      # http://www.eclipse.org/legal/epl-v10.html

                      #

                      # Contributors:

                      #  Actuate Corporation  - initial API and implementation

                      ###############################################################################

                       

                      # configurable variable for JSP base href. Please uncomment the below line.

                      #base_url=http://127.0.0.1:8080

                       

                      # [EXTENSION SETTING]

                      viewer.extension.html=html

                      viewer.extension.pdf=pdf

                      viewer.extension.postscript=ps

                      viewer.extension.doc=doc

                      viewer.extension.xls=xls

                      viewer.extension.ppt=ppt

                      viewer.extension.ods=ods

                      viewer.extension.odt=odt

                      viewer.extension.odp=odp

                      viewer.extension.docx=docx

                      viewer.extension.pptx=pptx

                      viewer.extension.xlsx=xlsx

                       

                      # [OUTPUT FORMAT LABEL NAME]

                      viewer.label.html=HTML

                      viewer.label.pdf=PDF

                      viewer.label.postscript=PostScript

                      viewer.label.doc=Word

                      viewer.label.xls=Excel

                      viewer.label.ppt=PowerPoint

                      viewer.label.ods=OpenDocument Spreadsheet

                      viewer.label.odt=OpenDocument Text

                      viewer.label.odp=OpenDocument Presentation

                      viewer.label.docx=DOCX

                      viewer.label.pptx=PPTX

                      viewer.label.xlsx=XLSX

                       

                      # [CSV SEPARATOR]

                      viewer.sep.0=,

                      viewer.sep.1=;

                      viewer.sep.2=:

                      viewer.sep.3=|

                      viewer.sep.4=\t

                       

                      # [VIEWING SESSION CONFIGURATION]

                      # The BIRT viewing session is a sub-session of the HTTP session.

                      # An HTTP session can have multiple BIRT viewing sessions.

                      # Each time a new viewer is opened, a new viewing session is created.

                      # The following parameters are used to configure the viewing session

                      # management.

                      # If the matching HTTP session expires, all the viewing sessions

                      # attached to it will expire as well.

                       

                      # Timeout value in seconds after which a viewing session will expire.

                      # The value 0 means that a session will never expire, and the cached files

                      # will never be cleant unless the belonging HTTP session expires.

                      viewer.session.timeout=0

                       

                      # Defines a session count threshold after which the cleanup process

                      # will try to clean up expired sessions.

                      viewer.session.minimumThreshold=20

                       

                      # Load factor to recalculate the minimum threshold value based on the remaining

                      # session count after cleanup.

                      viewer.session.loadFactor=0.75

                       

                      # Maximum number of simultaneous viewing sessions that can be open at the

                      # same time, to prevent cache overflowing through multiple requests.

                      # A value of 0 means no limit.

                      viewer.session.maximumSessionCount=0

                       

                      # Behavior that must be used once the maximum session count is reached

                      # (if different than 0):

                      # - A value of 0 will use the "Discard new session" policy that will show

                      # an error message for all the newer sessions.

                      # - A value of 1 will use the "Discard the oldest session" policy that will

                      # try to discard the oldest session, even if it has not expired yet.

                      # Note that "busy" sessions (for example downloading results) won't be

                      # cleant by this mechanism.

                      viewer.session.maximumSessionCountPolicy=1

                       

                      # [LOGGERS]

                      # "logger."+class=level

                      # if no level is specified or the text "DEFAULT",

                      # then the default level from the web.xml will be used

                      logger.org.eclipse.datatools.connectivity.oda=DEFAULT

                      logger.org.eclipse.datatools.enablement.oda=DEFAULT

                       

                      Kind regards,

                       

                      Nicolas

                      • 9. Re: Can't run the JBoss Birt integration sample
                        Snjezana Peco Master

                        The "javax.servlet.ServletException: java.lang.IllegalArgumentException: no file extension in servlet path: /run" exception is probably caused by Seam because it expects the .seam extension.

                        If defining BIRT servlets/filter before Seam servlets/filter doesn't work, you can try to update Seam or set the Seam filter as:

                         

                        ...

                        <filter-mapping>

                            <filter-name>Seam Filter</filter-name>

                            <url-pattern>/*.seam</url-pattern>

                        </filter-mapping>

                        ...

                        instead of

                         

                        ...

                        <filter-mapping>

                            <filter-name>Seam Filter</filter-name>

                            <url-pattern>/*</url-pattern>

                        </filter-mapping>

                        ...

                         

                        However, I can't reproduce the issue with Seam from SOA 5.3.1 and the standard Seam filter settings, but could try to do it with your configuration files. You can attach them tohttps://issues.jboss.org/browse/JBIDE-16604.

                        • 10. Re: Can't run the JBoss Birt integration sample
                          nicolas duminil Master

                          I finally found the following solution: adding to the components.xml the line <web:context-filter url-pattern="/run"/>. Please notice that the information found here Birt integration into existing Seam Project says that the line to be added should be the following:

                           

                            <web:context-filter regex-url-pattern="/frameset.*|/document.*|/download.*|/parameter.*|/extract.*|/run.*|/preview.*|/output.*|/embed.*"/>

                           

                          But this didn't work for me. I also tried <web:context-filter url-pattern="/frameset"/> and modified the xhtml page such that to have designType="frameset" but, whatever I did, only <web:context-filter url-pattern="/run"/> displays correctly the test1.rptdesign report.

                           

                          So, to resume the steps I took:

                           

                          1. Have created a new Seam Web project in JBDS 7.0.

                          2. I have activated the BIRT Reporting Runtime Component 4.3.1. This generated the web.xml with all the Seam and BIRT filters, servlets, etc and also two test reports, test.rptdesign and test1.rptdesign. This also automatically added lots of libraries to the lib directory.

                          3. When I tried to deploy that I got a LinkException because the class org.apache.DOMConfig was present in two of the libraries automatically added: org.eclipse.birt.runtime_4.3.1 and org.apache.xerces_2.9.0. I deleted the last one and then the deplyment worked.

                          4. Trying to display the two reports using designType="run" was only displaying white pages with no exception raised.

                          5. Adding the two archives provided by Snjezana solved this problem. Iwas able to correctly display the first report test.rptdesign. But running the second one, test1.rptdesign kept raising the javax.servlet.ServletException: java.lang.IllegalArgumentException: no file extension in servlet path: /run.

                          6. Changing the order of the servelts/filters in web.xml file such that to have all the BIRT stuff before the JSF/Seam/Rich one didn't change anything. Neithe modifying the Seam filter path such that to read /*.seam instead of /*.

                          7. Finally, the only thing that worked for me was to add <web:context-filter url-pattern="/run"/> to the components.xml file. Any other alternative like <web:context-filter regex-url-pattern="/frameset.*|/document.*|/download.*|/parameter.*|/extract.*|/run.*|/preview.*|/output.*|/embed.*"/> didn't work.

                           

                          Now,that I'm able to view the test reports I only can hope that I will be able to view my owns. But it's really weird.

                           

                          Many thanks for your help.

                           

                          Nicolas

                          • 11. Re: Can't run the JBoss Birt integration sample
                            nicolas duminil Master

                            I have to re-open again this discussion as the previous solution only works time to time. Fo example, just undeploying the war and redeply it, without any modifications, I get again the exception javax.servlet.ServletException: java.lang.IllegalArgumentException: no file extension in servlet path: /run. Then, I undeploy and re-deploy and, after several trials, it works again. If I stop the server and start again, it raises the exception. Then again I undeploy and re-deploy 3-4 times before that I get it running.

                             

                            So, when I said that things like

                             

                            <web:context-filter regex-url-pattern="/frameset.*|/document.*|/download.*|/parameter.*|/extract.*|/run.*|/preview.*|/output.*|/embed.*"/>

                             

                            didn't work, it was because I undeployed and re-deployed after having made the modifications in components.xml.

                             

                            It definetly has to do with the order in which the filters intercept the request and, for some reason, in some deployment the the BIRT filter intercepts the run requests, but in other deployments it's the Seam filter which gets it and doesn't know what to do with. It's simply crazy, I have never seen something so anoying.

                            • 12. Re: Can't run the JBoss Birt integration sample
                              Busssard Buss Newbie

                              Nicolas,

                               

                              Try this in your web.xml

                               

                                <servlet> 

                                  <servlet-name>JBoss BIRT Servlet</servlet-name> 

                                  <servlet-class>org.jboss.tools.birt.servlet.JBossBirtServlet</servlet-class> 

                                </servlet>

                               

                                <servlet>

                                  <servlet-name>ViewerServlet</servlet-name>

                                  <servlet-class>org.eclipse.birt.report.servlet.ViewerServlet</servlet-class>

                                  <load-on-startup>1</load-on-startup>

                                </servlet>

                                 

                                <servlet-mapping> 

                                  <servlet-name>JBoss BIRT Servlet</servlet-name> 

                                  <url-pattern>/embed</url-pattern> 

                                </servlet-mapping>   

                               

                                <servlet-mapping>

                                  <servlet-name>ViewerServlet</servlet-name>

                                  <url-pattern>/run</url-pattern>

                                </servlet-mapping>